summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/debian.pp
AgeCommit message (Collapse)Author
2012-08-22implement fixes from #3514Micah Anderson
2012-08-10fix puppetmaster service definition for passengerMicah Anderson
Because passenger mode doesn't have its own daemon, it was a hack before to have the service definition for 'puppetmaster' be actually looking in the process list for 'apache2'. This sort of worked, but not if you need to notify the service for a restart. It also didn't actually work, because the hasstatus parameter was set to true, which meant that on every run, puppet did a /etc/init.d/puppetmaster status and found that it was not running and then tried to start it by doing /etc/init.d/puppetmaster start. That doesn't work because its turned off in /etc/default/puppetmaster when puppetmaster_mode='passenger'. So... this commit removes that hacky service definition and instead just requires the apache::base class, providing the apache service monitoring that is needed when you are running puppetmaster_mode='passenger'. It also has to pull up the Service[puppet] override which was adding the puppetmaster service, which makes no sense because there is no service. Finally, in order to notify it for changes, we need to use a selector to determine how to reload things based on puppetmaster_mode. Conflicts: manifests/puppetmaster/linux.pp
2011-01-10Fix up puppet/puppetmaster status method for Debian Squeeze and Sid, ↵Micah Anderson
updating my previous commits with the fixes from LeLutin (closes: #2693)
2011-01-10add to puppet::puppetmaster::debian a file resource to manage the ↵Micah Anderson
/etc/default/puppetmaster file shipped with the debian package
2010-12-14add debian-specific puppetmaster service resource overrides, if not running ↵Micah Anderson
passenger mode
2010-08-06codestyle - whitespacemh
Only code style and whitespace formatting issues. Everything should no be in ligne.
2010-05-12remove package name override, not needed anymoreJerome Charaoui
2010-02-11improve puppetmaster support on debianJerome Charaoui