On Wed, Nov 16, 2011 at 2:14 PM, Matthew O'Connor <thegreendra...@gmail.com> wrote: > I looked for that. There's not any other http daemon running. The PID that > the first returns changes every time (now at 23052, 23139, etc.). The second > one never returns a PID (unless there's actually an httpd running). >
Add hasstatus so it uses service instead of ps -ef for checking the service: service { 'httpd': ensure => running, enable => true, hasstatus => true, } Thanks, Nan -- 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.