summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-06fix for new style for 2.7mh
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/readme'Micah Anderson
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-04-09Document, in the README, how to use the moduleGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-03-07add UPGRADE NOTICE to README. Rearrange a little to make it flow nicerMicah Anderson
2012-03-07Add default vhost files for DebianGabriel Filion
Taken from a Debian Squeeze install of Apache. 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-27reject undef itemsmh
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
2011-11-22we use now file_linemh
2011-11-20include php default dirs if we want to add subdirsmh
2011-10-18fix variable namingmh
2011-10-18fix value lookup - take 2mh
2011-10-18fix value lookupmh
2011-10-17fix gallery template partial passingmh
2011-10-13correct namingmh
2011-10-13add worker related config filesmh
2011-10-13if we run as fcgid, we need to tell safe_mode that gid is finemh
2011-10-13enforce space between optionsmh
2011-10-12rename partial correctlymh
2011-10-12fix template pathmh
2011-10-09no need to configure fcgid on redirect hostsmh
2011-10-09we should take the key not the value :/mh
2011-10-09hashs are not sorted, but for idempotence we should sort itmh
2011-10-09remove stupid cyclemh