1

Puppet restarts services twice — can it be fixed?

view story
linux-howto

http://serverfault.com – When service is described with both ensure => running and subscribed to config file changes if both conditions fulfil (i.e. it is not running and config file changed) it gets (re)started twice. Is there a way to make it start only once? To clarify, I have the following type: service { "puppet": ensure => running, enable => true, hasrestart => true, subscribe => File["/etc/puppet/puppet.conf"], } # service When both /etc/puppet/puppet.conf is changed and service puppet is not running I see the following in puppet output (with --debug s (HowTos)