pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0045-vault-add-missing-salt-option-to-vault_mod.patch

403b09
From 001abcdca2026d0e1f51ca4e4e9d2cff052eadd7 Mon Sep 17 00:00:00 2001
403b09
From: Jan Cholasta <jcholast@redhat.com>
403b09
Date: Thu, 4 Aug 2016 14:14:15 +0200
403b09
Subject: [PATCH] vault: add missing salt option to vault_mod
403b09
403b09
The option was accidentally removed in commit
403b09
4b119e21a2f93ca16c5edf3d1058552b44feeaf8.
403b09
403b09
https://fedorahosted.org/freeipa/ticket/6154
403b09
403b09
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
403b09
---
403b09
 ipaclient/plugins/vault.py | 2 +-
403b09
 1 file changed, 1 insertion(+), 1 deletion(-)
403b09
403b09
diff --git a/ipaclient/plugins/vault.py b/ipaclient/plugins/vault.py
403b09
index 73ad09b38316d55b466b7973dbeffefc1b7bb528..9026cbb0829a7557584df27a4262dfde640b4f28 100644
403b09
--- a/ipaclient/plugins/vault.py
403b09
+++ b/ipaclient/plugins/vault.py
403b09
@@ -413,7 +413,7 @@ class vault_mod(Local):
403b09
 
403b09
     def get_options(self):
403b09
         for option in self.api.Command.vault_mod_internal.options():
403b09
-            if option.name not in ('ipavaultsalt', 'version'):
403b09
+            if option.name != 'version':
403b09
                 yield option
403b09
         for option in super(vault_mod, self).get_options():
403b09
             yield option
403b09
-- 
403b09
2.7.4
403b09