mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #6210 from hulu/smf-reload-func-alias
add __func_alias__ for modules.smf.reload
This commit is contained in:
commit
abb98845d8
@ -3,6 +3,10 @@ Service support for Solaris 10 and 11, should work with other systems
|
||||
that use SMF also. (e.g. SmartOS)
|
||||
'''
|
||||
|
||||
__func_alias__ = {
|
||||
'reload_': 'reload'
|
||||
}
|
||||
|
||||
|
||||
def __virtual__():
|
||||
'''
|
||||
@ -114,7 +118,7 @@ def restart(name):
|
||||
return not __salt__['cmd.retcode'](cmd)
|
||||
|
||||
|
||||
def reload(name):
|
||||
def reload_(name):
|
||||
'''
|
||||
Reload the named service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user