Merge pull request #6210 from hulu/smf-reload-func-alias

add __func_alias__ for modules.smf.reload
This commit is contained in:
Joseph Hall 2013-07-17 11:22:01 -07:00
commit abb98845d8

View File

@ -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