From 2f0e8e3a3d9de78d3711c73b480d79f68f0de0d0 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Wed, 16 Feb 2011 10:35:49 +0100 Subject: 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 --- ipalib/plugins/service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ipalib/plugins/service.py') diff --git a/ipalib/plugins/service.py b/ipalib/plugins/service.py index b832d31f..6bf16524 100644 --- a/ipalib/plugins/service.py +++ b/ipalib/plugins/service.py @@ -58,7 +58,7 @@ EXAMPLES: Find all HTTP services: ipa service-find HTTP - Disable a service Kerberos key: + Disable the service Kerberos key and SSL certificate: ipa service-disable HTTP/web.example.com Request a certificate for an IPA service: @@ -524,10 +524,10 @@ api.register(service_remove_host) class service_disable(LDAPQuery): """ - Disable the Kerberos key of a service. + Disable the Kerberos key and SSL certificate of a service. """ has_output = output.standard_value - msg_summary = _('Removed kerberos key from "%(value)s"') + msg_summary = _('Disabled service "%(value)s"') has_output_params = LDAPQuery.has_output_params + output_params def execute(self, *keys, **options): -- cgit