I have gotten in the habit, whenever I need to start or stop a service on an individual machine, of doing this:
puppet resource service nginx ensure=stopped enable=true
This has the nice benefit that I don't need to remember if this service uses `/etc/init.d`, or `chkconfig`, or `service` or `systemctl`
But I can only `ensure=stoppped` or `ensure=running`. How can I similarly `restart` or `reload` the service?
↧