Ensure a Windows service is running
There are often services that you always want running in your infrastructure.
To have Puppet ensure that a
service is running, use the following code:
service { '<service name>':
ensure => 'running'
}
Example
service { 'w32time':
ensure => 'running'
}