summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster
AgeCommit message (Collapse)Author
2014-02-18Fix site path in passenger classJerome Charaoui
2013-05-01checklastrun cronjob: only pass output through in imperfect situations.intrigeri
That is, silence it (and avoid nagging the administrators with email) when all hosts are OK, and puppetlast exits with return code 0.
2013-04-23Install puppetlast cronjob under a usable name.intrigeri
That is, install it as /etc/cron.d/puppetlast, and cleanup the old buggy /etc/cron.d/puppetlast.cron. As cron(8) says about /etc/cron.d/: "For example, any file containing dots will be ignored."
2013-02-27Fix typo.Jerome Charaoui
2013-01-02Class hierarchy is off and passenger apt repository is always installedGabriel Filion
also, the $puppet_majorversion variable was empty because it was not fully qualified. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2013-01-02Merge branch 'puppet_cron'Gabriel Filion
Conflicts: manifests/cron.pp manifests/linux.pp take the changes from puppet_cron
2013-01-02cron service dependancy has some errors and misses the cron classGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2013-01-02added service dependency for cronpuppet_cronvarac
2013-01-02linted checklastrun.ppvarac
2013-01-02Merge branch 'master' of ssh://labs.riseup.net/shared-puppetvarac
2012-10-11file extension .sh is not recognized by run-partsvarac
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-22switch to $::operatingsystem as suggested by ng in ↵Micah Anderson
https://labs.riseup.net/code/issues/4029
2012-08-22Merge branch 'master' of ssh://leap.se:4422/puppet_puppetMicah Anderson
Conflicts: manifests/puppetmaster/passenger.pp
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-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-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