theforeman/puppet-puppet — pull request #99 by domcleal (2013-09-20 09:00:41+00:00)
Title: Enable hasstatus to prevent puppetd versus installer confusion

On 2.6, puppet incorrectly thinks the installer "puppet apply" run is puppetd, so it doesn't start the agent.

Kafo debug logs rock.

[DEBUG 2013-09-20 08:45:34 puppet] Service[puppet](provider=redhat): Executing 'ps -ef'
[DEBUG 2013-09-20 08:45:34 puppet] Service[puppet](provider=redhat): PID is 2110
[DEBUG 2013-09-20 08:45:34 puppet] Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig puppet'
[DEBUG 2013-09-20 08:45:34 puppet] Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig puppet on'
[ WARN 2013-09-20 08:45:34 puppet] /Stage[main]/Puppet::Service/Service[puppet]/enable: enable changed 'false' to 'true'

(pid 2110 was the installer, not the agent)