summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-16update puppet.conf default file to have the newer section headings, required ↵Micah Anderson
to eliminate deprecation warnings
2012-07-16minor README language fixMicah Anderson
2012-07-16add information to README about specifying versionsMicah Anderson
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-12implement fix for cron file being put in place even when you do not include ↵Micah Anderson
puppet::cron. The module should make sure that the cron file is not there if you aren't using the cron method, otherwise the daemon and the cronjob could both run. Used suggested change from jcharaoui in #3513
2012-04-11implement fix for cron file being put in place even when you do not include ↵Micah Anderson
puppet::cron. The module should make sure that the cron file is not there if you aren't using the cron method, otherwise the daemon and the cronjob could both run. Used suggested change from jcharaoui in #3513
2012-04-08Fail when trying to ensure an installed version on FreeBSDGabriel Filion
The two package providers for FreeBSD are not able to ensure that a specific version of a package is installed because of how ports/pkg_add work. They can only ensure the version from the specified FreeBSD release is installed or absent. For more information, see: http://docs.puppetlabs.com/references/stable/type.html#features-4 To make the class easier to understand, let's not do something that users don't expect when they're requesting installation of a specific version. We'll explicitly fail and tell users why so that they can adjust how they use the class/module. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-04-05determine if puppetmaster-common should be installed, if ↵Micah Anderson
$puppetmaster_ensure_version is not set
2012-03-01Revert "the debian-specific case doesn't work for squeeze, so re-factor the ↵intrigeri
way it is" This reverts commit d38e7cf64902ff55138e5f85cc7c3b880ea5fb74. Current puppet package in Squeeze does not start by default => no need to special case it.
2012-02-15Fix lastruncheck.intrigeri
Patch by pietro.
2012-02-15Merge commit '05a9d526ab7a23dea30058dbb3ac21a9bb521dab'Micah Anderson
2011-08-23Add partial freebsd cron job supportGabriel Filion
The puppet::cron::freebsd class is almost identical to the puppet::cron::openbsd one, but there is no cron job to remove, and the /etc/rc.conf mechanism doesn't exist yet for FreeBSD. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
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-08-23Fix ssldir value for FreeBSD configGabriel Filion
The default ssl directory in FreeBSD is /var/puppet/ssl, not /usr/local/etc/puppet/ssl With the previous value, puppet would refuse to run starting from the second run, stating that the certificates do not match. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-08-23Include the OS-specific class for FreeBSDGabriel Filion
The FreeBSD class was previously defined but not included by the puppet class in init.pp Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-08-23FreeBSD: install packages via puppet itselfGabriel Filion
The linux class installs puppet and facter via puppet itself. Chances are that they are already installed, since you need puppet before you can run puppet. _But_, it enables the $puppet_ensure_version and $facter_ensure_version features (forcing the installed version). So let's do the same in FreeBSD. 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-16Support puppet client for FreeBSDGabriel Filion
Some pieces of the puzzle are missing for being able to manage puppet in FreeBSD. * Add a default puppet client config template for FreeBSD * In FreeBSD, puppet.conf is not in /etc/puppet/ so let's provide a value for this variable in init.pp. * The rc script for starting and stopping puppet is not located in /etc/rc.d so let's signify this to Service[puppet] Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-07-07linux is the kernel not the operating systemmh
2011-07-07README typomh
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-07-07also don't do anything on undef - maybe once puppet will return undef on ↵mh
undefined variables
2011-05-21Fix development environment's modules path.intrigeri
2011-05-07Fix probable typos.intrigeri
2011-05-07Merge remote branch 'immerda/master'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-17no need to log to the console as we don't use puppets logging featuremh
2011-04-13removed errant spaceKeith aka fugit
2011-04-13updated allow insatll of puppetmaster on squeeze. This addresses theKeith aka fugit
package diferences.
2011-04-03find not searchmh
2011-04-03fix lastruncheck to be compatible for 2.6.7mh
2011-03-29the % needs to be double-escaped so puppet doesn't complain like this:Micah Anderson
Mar 29 14:08:23 puppetmaster puppet-master[26637]: Unrecognised escape sequence '\%' in file /etc/puppet/modules/puppet/manifests/cron/linux.pp at line 17
2011-03-28percent is magic in crontabs and needs to be escapedMatt Taggart