summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster
AgeCommit message (Collapse)Author
2013-01-02added service dependency for cronpuppet_cronvarac
2013-01-02linted checklastrun.ppvarac
2012-08-22implement fixes from #3514Micah Anderson
2012-08-22switch to $::operatingsystem as suggested by ng in ↵Micah Anderson
https://labs.riseup.net/code/issues/4029
2012-08-14forgot closing bracevarac
2012-08-14debian specific config.ru location for use with puppetmaster-passenger packagevarac
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-17Temporarily disabled Package['puppetmaster']varac
otherwise you now get following error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource(s) Package[puppetmaster] for overriding on node flea.leap.se see https://leap.se/code/issues/198
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
2012-04-12Merge remote-tracking branch 'lelutin/freebsd' into sharedMicah Anderson
2012-04-12Fix probable typos.intrigeri
2011-08-23Move $puppet_default_config_dir to the puppet classGabriel Filion
We'd like to use this variable in the 'puppet' class since we're defining the path to another config file, there. Since puppet::puppetmaster inherits the puppet class, the variable will be defined appropriately. Just to make sure we get the value from the right place, let's also use the qualified variable name. To avoid useless repetitions in the variable name, change the variable name from $puppet_default_config_dir to $default_config_dir. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-07-16Support FreeBSD for the puppet masterGabriel Filion
The puppet master has one additional config file that needs to be placed in a different folder under FreeBSD. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-03-22fix syntax error from previous commitMicah Anderson
2011-03-22add debian-specific puppetmaster require parameter package overrideMicah Anderson
2011-01-17fix location of puppet reports in cronjob that is run daily to cleanup ↵Micah Anderson
reports on a monthly basis (by default)
2011-01-11fix dependency error for the /etc/cron.d/puppetlast.cronMicah Anderson
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
2011-01-10add a $use_munin variable to give a knob to turn on/off munin graphing.Micah Anderson
add two new munin graphs for puppetmaster: one to graph the memory usage of the running puppetmasters; and one to graph the average compile time
2010-12-14Merge remote branch 'immerda/master' into immerdaMicah Anderson
Conflicts: manifests/puppetmaster/checklastrun.pp manifests/puppetmaster/checklastrun/disable.pp
2010-12-14add debian-specific puppetmaster service resource overrides, if not running ↵Micah Anderson
passenger mode
2010-11-29replace puppetlast with much more improved versionmh
2010-11-28Fix whitespace and coding standards to use standard formatting styles (I ↵Micah Anderson
believe that this Closes #2353)
2010-08-19we set that below where it is the more appropriate placemh
2010-08-11remove unnecessary fileserver variable (#2460) round IImh
2010-08-07remove unnecessary fileserver variable (#2460)mh
2010-08-07improve reports cleanup disablemh
If we disable the cleanup of reports, actually remove the cron job.
2010-08-07improve checklastrun scriptmh
2010-08-06make the cleanup of reports configurablemh
We can now either disable reports cleanup or set the amount of days reports should be kept. By default we still cleanup reports after 30 days.
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-06remove unnecessary service (cron) notificationmh
There is no need to notify the cron service after placing something in /etc/cron.d. This means that we can also remove the dependency to cron, as we don't refer to any managed resource of the cron module anymore.
2010-08-06remove unnecessary definemh
2010-08-06codestyle - whitespacemh
Only code style and whitespace formatting issues. Everything should no be in ligne.
2010-08-06merge with lavamind/mastermh
2010-07-15service-definition in shared-modules/cron is cron, not crondvarac
2010-07-15puppetd doesnt need to get notified at all, its built-invarac
2010-07-14Merge remote branch 'shared-modules/master'varac
2010-05-12need to specify root namespaceJerome Charaoui
2010-05-12depend on cron moduleJerome Charaoui
2010-05-12remove package name override, not needed anymoreJerome Charaoui
2010-05-12adapt puppet::puppetmaster::passenger to updated passenger moduleJerome Charaoui
2010-05-12storeconfigs: use new mysql::client::ruby classJerome Charaoui
2010-05-12refactor puppet::puppetmaster::packageJerome Charaoui
2010-05-11Merge commit 'nadir/master'Jerome Charaoui
2010-03-07When using Passenger, we don't need /etc/cron.d/puppetmaster.cronnadir
2010-02-17On puppet::puppetmaster::passenger apache2 needs to be restarted instead of ↵nadir
puppetmasted
2010-02-11improve puppetmaster support on debianJerome Charaoui
2010-02-10with puppet::puppetmaster::passenger, service puppetmaster restarts apache2varac