summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-10-09migrate to new file_line typemh
2011-10-09remove old parammh
2011-10-09set max requests on the same as the php requests, as per ↵mh
https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
2011-10-09we need these rewrite rules, otherwise it won't work with cgimh
2011-10-09the script must be in its own locationmh
2011-10-09passing extension is not everyhwere definedmh
2011-10-09fix namingmh
2011-10-09ensure that execcgi is passed and add extension indexmh
2011-10-09do the same for fcgidmh
2011-10-09fix access mode for fcgid webdirsmh
2011-10-09fix typomh
2011-10-09this options should be set globallymh