diff --git a/salt/modules/smf.py b/salt/modules/smf.py index 7d3d2a032d..12b5f5e508 100644 --- a/salt/modules/smf.py +++ b/salt/modules/smf.py @@ -114,6 +114,18 @@ def restart(name): return not __salt__['cmd.retcode'](cmd) +def reload(name): + ''' + Reload the named service + + CLI Example:: + + salt '*' service.reload + ''' + cmd = '/usr/sbin/svcadm refresh {0}'.format(name) + return not __salt__['cmd.retcode'](cmd) + + def status(name, sig=None): ''' Return the status for a service, returns a bool whether the service is