mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #42175 from rallytime/bp-39366
Back-port #39366 to 2016.11
This commit is contained in:
commit
3b17fb7f83
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ def running(name, enable=None, sig=None, init_delay=None, **kwargs):
|
|||
time.sleep(init_delay)
|
||||
|
||||
# only force a change state if we have explicitly detected them
|
||||
after_toggle_status = __salt__['service.status'](name)
|
||||
after_toggle_status = __salt__['service.status'](name, sig)
|
||||
if 'service.enabled' in __salt__:
|
||||
after_toggle_enable_status = __salt__['service.enabled'](name)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue