summaryrefslogtreecommitdiff
path: root/manifests
AgeCommit message (Collapse)Author
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-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-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>
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-09-22Fix a syntax error in vhost/file.ppGabriel Filion
The issue and the fix were mentioned on redmine by fugit in #3472 Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-05-10Merge branch 'master' of git://git.puppet.immerda.ch/module-apacheJerome Charaoui
2010-05-09redirects don't need mod_securitymh
2010-02-23include mod_security depending on the run_modemh
2010-02-03add global ssl.conf file on Debian to provide NameVirtualHost directiveJerome Charaoui
2010-02-03in ssl::debian, enable mod_ssl and remove line for ports.conf as this breaks ↵Jerome Charaoui
the package-supplied config, which already includes the proper directives for port 443
2010-02-02add php_additional_open_basedirs and php_additional_options in php vhost ↵Jerome Charaoui
(fully implemented in standard template only, for now)
2010-01-30migrate missing partsmh
- migrate missing (newly introduced) vhosts - pass relevant_only stuff to subdefines
2010-01-30merged with lavamindmh
2010-01-26module silverstripeAndreas
2010-01-20missing variablesAndreas
2010-01-20missing variableAndreas
2010-01-10make it also possible that safe_mode_exec_bin can be absentmh
2010-01-10if we should remove everything if set to absentmh
2010-01-04add $mod_security_relevantonly flag, enabled by default, logs only on ↵Jerome Charaoui
suspicious requests, set to 'false' to log all requests (as before)
2010-01-04config file to managemh
2010-01-02actually the default is already utf8mh
2010-01-02we have already a default charset flag we managemh
2010-01-01not a managed dirAndreas
2010-01-01create g2data dirAndreas
2010-01-01redefinition errorAndreas
2010-01-01create gdata dirAndreas
2010-01-01gallery2 moduleAndreas
2009-12-26changed davdir->davdbdir, add to templateAndreas
2009-12-26DAV needs a writable dir for the db (with itk, with the correct user settings)Andreas
2009-12-23manage default 'charset' and 'security' configs on DebianJerome Charaoui
2009-12-23simplify config subclassesJerome Charaoui
2009-12-23fix passing of $content in config::includeJerome Charaoui
2009-12-23organize files in subdirectories per type : 'config' for main apache config; ↵Jerome Charaoui
'scripts' for extra shell scripts; 'service' for service default parameters. also, manage apache2.conf on Debian.
2009-12-23introduce config::global for global configs in conf.d and config::include ↵Jerome Charaoui
for vhost snippets in include.d
2009-12-23fix debian support for itk and use correct httpd username in managed webdirJerome Charaoui
2009-12-22remove default vhost from debian packageJerome Charaoui
2009-12-17add itk class for debianJerome Charaoui
2009-12-08manage debian apache module packagesJerome Charaoui
2009-12-08improve Debian supportJerome Charaoui
2009-11-21purge bin dir, only add php option if we actually added binariesmh
2009-11-21substitute with correct variable so we can use it more than oncemh