diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-02-16 10:35:49 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-02-16 22:14:43 -0500 |
commit | 2f0e8e3a3d9de78d3711c73b480d79f68f0de0d0 (patch) | |
tree | d23273f6d091f5e4f535f56d95f1e943c52b8126 /ipalib/plugins/host.py | |
parent | 36070555d1bd49aa1b25180db982a31dbac694a1 (diff) | |
download | freeipa-2f0e8e3a3d9de78d3711c73b480d79f68f0de0d0.tar.gz freeipa-2f0e8e3a3d9de78d3711c73b480d79f68f0de0d0.tar.xz freeipa-2f0e8e3a3d9de78d3711c73b480d79f68f0de0d0.zip |
Service/Host disable command output clarification
When a service/host is disabled, the resulting summary message states
that a Kerberos key was disabled. However, Kerberos key may not have
been enabled before this command at all, which makes this information
confusing for some users. Also, the summary message didn't state
that an SSL certificate was disabled too.
This patch rather changes the summary message to a standard phrase
known from other plugins disable command and states all disable
command steps in a respective command help.
https://fedorahosted.org/freeipa/ticket/872
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r-- | ipalib/plugins/host.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py index 791d4974b..300f4b8b3 100644 --- a/ipalib/plugins/host.py +++ b/ipalib/plugins/host.py @@ -63,7 +63,7 @@ EXAMPLES: Modify information about a host: ipa host-mod --os='Fedora 12' test.example.com - Disable the host kerberos key: + Disable the host Kerberos key, SSL certificate and all of its services: ipa host-disable test.example.com Add a host that can manage this host's keytab and certificate: @@ -659,10 +659,10 @@ api.register(host_show) class host_disable(LDAPQuery): """ - Disable the kerberos key of a host. + Disable the Kerberos key, SSL certificate and all services of a host. """ has_output = output.standard_value - msg_summary = _('Removed kerberos key and disabled all services for "%(value)s"') + msg_summary = _('Disabled host "%(value)s"') def execute(self, *keys, **options): ldap = self.obj.backend |