summaryrefslogtreecommitdiff
path: root/manifests
AgeCommit message (Collapse)Author
2013-04-12Merge remote-tracking branch 'immerda/master'Micah Anderson
Fixed apache_no_default_site variable to be a parameter to the apache class (no_default_site = false) Conflicts: files/include.d/Debian/ssl_defaults.inc manifests/base.pp manifests/config/file.pp manifests/vhost.pp manifests/vhost/php/standard.pp manifests/vhost/template.pp templates/vhosts/php/CentOS.erb templates/vhosts/php/Debian.erb
2013-03-27provide an easy way to workaround scope issues in templates in puppet 3mh
2013-03-17fix selttype on EL6mh
2013-03-17lintingmh
2013-03-10lintingmh
2013-03-10introduce logprefixmh
2013-03-09fix fcontexts to be bettermh
2013-02-28add munin plugin to this modulemh
2013-02-07ensure that necessary directories for the service are done before the ↵mh
service is managed
2012-12-28add a workaround foro
http://git.zx2c4.com/w3-total-fail/tree/w3-total-fail.sh to all wordpress vhosts mend
2012-12-15use common definemh
2012-12-15fix a few relationshipsmh
2012-12-15newer mod_security versions need a rule id & lintingmh
2012-12-14fix permission for htpasswdsmh
2012-12-13fix relation issuemh
2012-12-13introduce anchor to hook into basic setupmh
2012-12-01fix typomh
2012-11-27lintingmh
2012-11-27make logdirs httpd_log_tmh
2012-11-05add the ability to disable the 0-default.conf and 0-default_ssl.conf virtualMicah Anderson
hosts by setting the $apache_no_default_site variable
2012-09-18make source better configurablemh
2012-07-18make $package_name behave appropriately with apache::debian::moduleGabriel Filion
the default value for package_name in apache::debian::module is 'absent'. Using an empty value makes apache::module's default value break, saying that the package '' (nothing) cannot be found. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-07-18add 2.6.x compatibility to the default value of $moduleGabriel Filion
using $name in a default value doesn't work in 2.6.x, we need to verify the argument's value inside the manifests. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-07-18Move oddly-placed closing bracketGabriel Filion
usually, closing a curly bracket on the same line as the code is done when it is opened on the same line, too. here we'd rather align it to the "default:" to make the code easier to read. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-07-16change the class to a define and pass $name to $module by defaultMicah Anderson
2012-07-16single-quoting style diffMicah Anderson
2012-07-08there is a apache::centos::module, apache::gentoo::module, and ↵Micah Anderson
apache::debian::module which means you have to specify the operating system in the class that you called for deployment of the module. so I abstracted that by creating the class apache::module in manifests/module.pp which just did an fact check and then depending on the result, called the correct class for module deployment
2012-06-18this should enforced as apachemh
2012-06-13remove hieramh
2012-06-08fix dynamic scope variables, function accessmh
2012-06-05new style for 2.7mh
2012-05-31fix various puppet language thingsmh
2012-05-29rename site modulesmh
2012-04-18Merge remote-tracking branch 'lelutin/config_ensure_absent'Micah Anderson
2012-04-18Dependency to package missing for File['include_dir']Gabriel Filion
some runs produce an error because of a missing "require" link from 'include_dir' to the apache package: err: /Stage[main]/Apache::Base/File[include_dir]/ensure: change from absent to directory failed: Cannot create /etc/apache2/include.d; parent directory /etc/apache2 does not exist Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-02-25add only if to workaround puppet bug #12830mh
2012-02-21use correct selinux typemh
2012-02-12require sftponly classmh
2012-02-12manage selinux stuffmh
2012-01-08wrap it in a module statementmh
2012-01-08correct namingmh
2011-12-28set gem_home for the ruby appsmh
2011-12-11Avoid setting source or content when trying to remove apache::config::fileGabriel Filion
Currently, when trying to remove a config file that is not present in one of the source directories, you get an error about puppet not being able to find the file, which kills the puppet run. We need a special case for when $ensure is set to 'absent' or 'purged' so that we avoid setting the source argument. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-12-09config: Implement config files as linksGabriel Filion
Some packages in Debian manage an Apache config file in their own /etc directory and create a link to that file in Apache's conf.d directory. One example package that does this is nagios3. Introduce a new argument, $target, that can be used to specify the link destination. When using $target, the value to $ensure must also be 'link' to make the file into a symbolic link. This is to make it explicit when we want the apache::config::file to behave differently than the normal behaviour of creating a plain text file in conf.d. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2011-12-09allow custom config file source in the form of an arrayJerome Charaoui
The $source argument is not flexible enough as it is. It currently forces the source to be unique. Sometimes we'd like to be able to specify an array of possible sources. So we'll use the $source directly with the file resource without enforcing its format. WATCH OUT: this could break currently deployed apache::config::file resources, so one should change occurences of this resource's argument from: source => "modules/site-apache/blah" to a full source specification string: source => "puppet:///modules/site-apache/blah"
2011-12-09make apache::debian::module work with a version-specific ensureJerome Charaoui
Currently, the code expects $ensure to be either 'present' or 'absent' when enabling/disabling the concerned module. It does not take into account that other values could be set. Those other values could be 'purged' and any specific version tag. 'purged' must behave similarly to 'absent' (e.g. disable the module) and all other cases ('present' and a version tag) must enable the module.
2011-11-29additional foldermh
2011-11-29fix a few things that should be writablemh
2011-11-23there is another Listen example already commented outmh
2011-11-22as file_line lacks ensure => absent, we have to do it with a sedmh