If it is happening every time, it is usually an issue with init script. Puppet is not understanding the output of the init script, so it is not saving the correct state.Run the init script manually and see what it is returning. If it is not obvious, run puppet with --debug and see the exact command puppet is running
Steven > Date: Fri, 16 Nov 2012 16:15:42 -0800 > Subject: [Puppet Users] Issue with service => disabled and stopped > From: for...@gmail.com > To: puppet-users@googlegroups.com > > I have a simple manifest that I'm using to keep unwanted services from > running on an array of Linux systems. On my test host, I see these > two services repeatedly come up in the puppet.log, even tho they are > not running and are chkconfig set to off: > > service { "cups": > enable => false, > ensure => stopped, > } > > service { "cups-config-daemon": > enable => false, > ensure => stopped, > } > > The log: > > Nov 16 19:11:39 test-fms puppet-agent[6530]: (/Stage[main]/Disabled- > services/Service[cups-config-daemon]/ensure) ensure changed 'running' > to 'stopped' > Nov 16 19:11:40 test-fms puppet-agent[6530]: (/Stage[main]/Disabled- > services/Service[hidd]/ensure) ensure changed 'running' to 'stopped' > > verify in chkconfig: > > cups-config-daemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off > hidd 0:off 1:off 2:off 3:off 4:off 5:off 6:off > > This shows up every time puppet agent runs for this host. Why would > this be happening? > > This is using puppet 2.7.19 and the latest ruby 1.8.7. > > > > Thanks. > > -- > 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. > -- 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.