action(Enum[start, stop, restart, enable, disable, status])
— The operation (start, stop, restart, enable, disable, status) to perform on the service.
name(String[1])
— The name of the service to operate on.
force(Optional[Boolean])
— Force a Windows service to restart even if it has dependent services. This parameter is passed for Windows services only.
provider(Optional[String[1]])
— The provider to use to manage or inspect the service, defaults to the system service manager. Only used when the 'puppet-agent' feature is available on the target so we can leverage Puppet.