summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/linux.pp
AgeCommit message (Collapse)Author
2012-08-09Because passenger mode doesn't have its own daemon, it was a hack before to ↵Micah Anderson
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.
2012-07-06added puppetmaster service def. for passengervarac
2012-07-06notify_passenger_puppetmaster: do apache2 reloadvarac
instead of touching .../restart.txt, which doen't seem to work with libapache2-mod-passenger 2.2.11debian-2
2010-11-28Fix whitespace and coding standards to use standard formatting styles (I ↵Micah Anderson
believe that this Closes #2353)
2010-08-06cleanup 'if defined' code smellmh
A new variable $puppetmaster_mode have been introduced, which should later be replaced by a class variable.
2010-08-06codestyle - whitespacemh
Only code style and whitespace formatting issues. Everything should no be in ligne.
2010-02-17On puppet::puppetmaster::passenger apache2 needs to be restarted instead of ↵nadir
puppetmasted
2010-02-10with puppet::puppetmaster::passenger, service puppetmaster restarts apache2varac
2008-07-22merged with puzzlemh