Enable vault-* commands on client

Client plugins fot vault commands were disabled by NO_CLI=True,
inherited from vault_add_interal, that is always NO_CLI=True.
Introduced by this commit 8278da6967

Removed NO_CLI=True from client side plugins for vault.

https://fedorahosted.org/freeipa/ticket/6035

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Martin Basti 2016-07-08 15:53:25 +02:00 committed by Petr Vobornik
parent 6d6da6b281
commit 9feeaca9fb

View File

@ -202,10 +202,6 @@ class vault_add(Local):
),
)
@property
def NO_CLI(self):
return self.api.Command.vault_add_internal.NO_CLI
def get_args(self):
for arg in self.api.Command.vault_add_internal.args():
yield arg
@ -394,10 +390,6 @@ class vault_mod(Local):
),
)
@property
def NO_CLI(self):
return self.api.Command.vault_mod_internal.NO_CLI
def get_args(self):
for arg in self.api.Command.vault_mod_internal.args():
yield arg
@ -572,10 +564,6 @@ class vault_archive(Local):
),
)
@property
def NO_CLI(self):
return self.api.Command.vault_archive_internal.NO_CLI
def get_args(self):
for arg in self.api.Command.vault_archive_internal.args():
yield arg
@ -820,10 +808,6 @@ class vault_retrieve(Local):
),
)
@property
def NO_CLI(self):
return self.api.Command.vault_retrieve_internal.NO_CLI
def get_args(self):
for arg in self.api.Command.vault_retrieve_internal.args():
yield arg