mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #24345 from rallytime/bp-24013
Backport #24013 to 2015.5
This commit is contained in:
commit
4afa03d8e3
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ def enable(name, **kwargs):
|
|||
if _service_is_upstart(name):
|
||||
return _upstart_enable(name)
|
||||
executable = _get_service_exec()
|
||||
cmd = '{0} -f {1} enable'.format(executable, name)
|
||||
cmd = '{0} -f {1} defaults'.format(executable, name)
|
||||
return not __salt__['cmd.retcode'](cmd, python_shell=False)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue