Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Salt: Like Puppet, Except It Doesn’t Suck. Parent comment
Specify the service declaratively, and subscribe it to the package that provides the payload.
service { 'myservice': ensure => running, enable => true, subscribe => Package['myservice'], }
There are no comments on this comment yet.
Specify the service declaratively, and subscribe it to the package that provides the payload.
Then when you upgrade the package on that node, either by using ensure => latest, or by manually specifying the new version, Puppet will automatically restart the service.