The mode of vhost files should be 644 not 755
Add spec
Merge pull request #40 from hunner/change_mode

Change mode
Fix spaces because apache include ignores them
Merge pull request #41 from hunner/fix_spaces

Fix spaces because apache include ignores them
Change default RedHat confdir

RedHat sticks all mods/confs/vhosts in `$confdir/conf.d` but Debian
sticks them in separate directories. Previosly the Apache module
simulated Debian style conf dirs on RedHat, but this leads to confusing
purging and updating with respect to configs that are added to `conf.d`
by packages.

Changing the default to `conf.d` means that configs placed by packages
are updated rather than ignored or purged. Also if purging is turned off
this will not cause undesired config declarations.
Merge pull request #42 from hunner/change_redhat_default

Change default RedHat confdir
Merge branch 'master' into prepare_merge

Brining refactored branch up to date to send PR

Updated to deprecate `purge_vdir` for purging of conf.d on RedHat

Conflicts:
	manifests/init.pp
	spec/defines/mod_spec.rb
	spec/defines/vhost_spec.rb
Remove trailing commas in spec for 1.8.7
Remove 2.6.0 testing
Merge pull request #43 from hunner/prepare_merge

Merge branch 'master' into prepare_merge
Merge branch 'refactor_module' into master

Conflicts:
	.travis.yml
	manifests/init.pp
	spec/defines/mod_spec.rb
	spec/defines/vhost_spec.rb
Custom logging for apache::vhost

This patch adds the ability to change how vhost logging works. This patch
adds new parameters to 'apache::vhost' define type. This allows users to
specify a log format or nickname for the 'CustomLog' directive. This also
allows users to specify a pipe as the destination for the 'ErrorLog' and
'CustomLog' directives.
Spec tests for apache::vhost logging improvements

The enhancements to vhost logging are currently passing the previous
spec tests in place. However the enhancements added two new ways the
apache::vhost type should fail. The enhancements also added some extra
logic surrounding the CustomLog and ErrorLog directives.

This patch extends the suite of tests already running against
apache::vhost logging enhancements added in 4226690eb3. The new
tests verify the correct functionality of the logging enhancements.