mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
commit
8d50448e85
@ -213,8 +213,8 @@ def enable(name, **kwargs):
|
||||
salt '*' service.enable <service name>
|
||||
salt '*' service.enable <service name> flags=<flags>
|
||||
'''
|
||||
flags = kwargs.get('flags', \
|
||||
__salt__['config.option']('service.flags', \
|
||||
flags = kwargs.get('flags',
|
||||
__salt__['config.option']('service.flags',
|
||||
default=''))
|
||||
|
||||
if not flags:
|
||||
|
Loading…
Reference in New Issue
Block a user