On Aug 31, 2011, at 1:55 PM, Steven VanDevender wrote: > Craig White writes: >> Seems that every cycle, puppet thinks that bind9 service is stopped and >> wants to restart... >> >> info: Applying configuration version '1314822598' >> notice: /Stage[main]/Bind::Service/Service[bind9]/ensure: ensure changed >> 'stopped' to 'running' >> notice: Finished catalog run in 3.70 seconds >> >> But it's running and from the logs, puppet doesn't appear to have any impact >> at all (bind9 was running, continues to run and is not restarted by the >> puppet cycle). >> >> # /etc/init.d/bind9 status >> * bind9 is running > > What's the exit status of "/etc/init.d/bind9 status"? That's what > Puppet is checking if "hasstatus => true" is set for the service > (usually the default). Give the command "echo $?" immediately after > running that; if the value is not 0, then the init script is kind of > broken and you should set "hasstatus => false" for the service. ---- # echo $? 0
Craig -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.