add php_additional_open_basedirs and php_additional_options in php vhost (fully implemented in standard template only, for now)
provide ssl defaults for vhosts under Debian (copied from CentOS config)
in ssl::debian, enable mod_ssl and remove line for ports.conf as this breaks the package-supplied config, which already includes the proper directives for port 443
fix incomplete file include.d/Debian/ssl_defaults.inc
add global ssl.conf file on Debian to provide NameVirtualHost directive
fix log path in include.d/Debian/ssl_defaults.inc
Merge branch 'master' of git://git.puppet.immerda.ch/module-apache
Fix a syntax error in vhost/file.pp

The issue and the fix were mentioned on redmine by fugit in #3472

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
make apache::debian::module work with a version-specific ensure

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.
allow custom config file source in the form of an array

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"
config: Implement config files as links

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>
Avoid setting source or content when trying to remove apache::config::file

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>
Add default vhost files for Debian

Taken from a Debian Squeeze install of Apache.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
add UPGRADE NOTICE to README. Rearrange a little to make it flow nicer
Document, in the README, how to use the module

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Dependency to package missing for File['include_dir']

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>
Merge remote-tracking branch 'lelutin/config_ensure_absent'
Merge remote-tracking branch 'lelutin/readme'
there is a apache::centos::module, apache::gentoo::module, and 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
single-quoting style diff