From eb41bfd3c81348e6c616f1e7c675c07b0eaf04c5 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 9 May 2012 23:13:13 -0400 Subject: [PATCH] Allow service 'enable' parameter be 'enabled', which is what I'd personally try to use. --- library/service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/service b/library/service index 63c4fe8bc7..87ce881b46 100755 --- a/library/service +++ b/library/service @@ -117,7 +117,7 @@ if name is None: state = params.get('state', None) list_items = params.get('list', None) -enable = params.get('enable', None) +enable = params.get('enabled', params.get('enable', None)) # running and started are the same if state and state.lower() not in [ 'running', 'started', 'stopped', 'restarted' ]: