summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster
AgeCommit message (Collapse)Author
2012-08-22Merge remote-tracking branch 'riseup/master'Micah Anderson
Conflicts: manifests/puppetmaster/debian.pp manifests/puppetmaster/linux.pp manifests/puppetmaster/package/debian.pp
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-16remove no longer needed inheritance of puppet::puppetmaster::package as we ↵Micah Anderson
are not doing any overrides, instead we can just include the classes that we also want to load
2012-07-16remove the complicated test case for determining if 'puppetmaster-common' is ↵Micah Anderson
needed or not, this is handled by the apt::preferences_snippet and debian's package dependency resolution now stop inheriting puppet::master::package::base from puppet::puppetmaster::package::debian, it is no longer needed, because we are no longer overriding anything
2012-07-16remove unnecessary inheritance of puppet::puppetmaster::package to ↵Micah Anderson
puppet::puppetmaster::linux provide a warning message if you have tried to specify $puppetmaster_ensure_version on an operatingsystem that is not supported
2012-07-16add apt::preferences::snippet to enable specifying the puppetmaster version.Micah Anderson
The preferences snippet requires that we set the package parameter to 'puppet*' to pull in the correct dependencies. We set the priority to 2000 because according to apt_preferences(5): P > 1000 causes a version to be installed even if this constitutes a downgrade of the package which is the desired behavior. This should resolve issue #2928
2012-07-16we must fully qualify paths to execsMicah Anderson
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-06-272.7 underscore rename: site-puppetMicah Anderson
2012-06-27Merge remote-tracking branch 'lavamind/master'Micah Anderson
Conflicts: manifests/cron.pp manifests/puppetmaster/package/debian.pp
2012-06-27Merge remote-tracking branch 'shared/master'Micah Anderson
2012-04-12Merge remote-tracking branch 'lelutin/freebsd' into sharedMicah Anderson
2012-04-12Fix probable typos.intrigeri
2012-04-05determine if puppetmaster-common should be installed, if ↵Micah Anderson
$puppetmaster_ensure_version is not set
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-07-07implement setting reports cleanup dir the old waymh
2011-07-07Revert "migrate cleanup_reports to parametrized classes as this makes it ↵mh
much more configurable" This reverts commit 0f4718f062f7419092f69dcdd951339a466a79b8. Unfortuantely due to puppet bug #5517 we currently can't do it that nice so we need to hack around things https://projects.puppetlabs.com/issues/5517
2011-07-07Revert "fix variable naming"mh
This reverts commit 0fd0df89f4a0bd0700b3260a4c40041c59f65660.
2011-07-07fix variable namingmh
2011-07-07migrate cleanup_reports to parametrized classes as this makes it much more ↵mh
configurable
2011-05-07Fix probable typos.intrigeri
2011-05-07Install puppetmaster-common package.intrigeri
This should fix the remaining issues from https://labs.riseup.net/code/issues/2928
2011-05-07Inherit from the right base class.intrigeri
2011-04-22fix problem where you are not on wheezy or sid, but you install a newer ↵Micah Anderson
version through puppetmaster_ensure_version (such as through backports)
2011-04-22Revert "Declared the inclusion of an external package. This should be ↵Micah Anderson
removed for public use or incorporated into the puppet module" This isn't something we want to keep This reverts commit bc4fa29b454691b6c446b2881b4b3ea39d6b8272.
2011-04-22Fix the notify call for puppet service so it will work with passengerKeith aka fugit
2011-04-22Fixed typos in the spelling of passenger in includesKeith aka fugit
2011-04-22added fqdn path call for source puppet.confKeith aka fugit
2011-04-22Declared the inclusion of an external package. This should be removed for ↵Keith aka fugit
public use or incorporated into the puppet module
2011-04-13removed errant spaceKeith aka fugit
2011-04-13updated allow insatll of puppetmaster on squeeze. This addresses theKeith aka fugit
package diferences.
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