summaryrefslogtreecommitdiff
path: root/manifests/defines
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/defines')
-rw-r--r--manifests/defines/configuration.pp9
-rw-r--r--manifests/defines/vhost_varieties.pp2
2 files changed, 6 insertions, 5 deletions
diff --git a/manifests/defines/configuration.pp b/manifests/defines/configuration.pp
index 19b56ee..4705414 100644
--- a/manifests/defines/configuration.pp
+++ b/manifests/defines/configuration.pp
@@ -66,9 +66,10 @@ define apache::vhost::webdir(
$ensure = present,
$path = 'absent',
$owner = root,
- $group = 0,
- $documentroot_owner = apache,
- $documentroot_group = 0,
+ $group = apache,
+ $mode = 0640,
+ $documentroot_owner = root,
+ $documentroot_group = apache,
$documentroot_mode = 0640,
$documentroot_recurse = false
){
@@ -123,7 +124,7 @@ define apache::vhost::webdir(
default: {
file{"$real_path":
ensure => directory,
- owner => $owner, group => $group, mode => '0755';
+ owner => $owner, group => $group, mode => $mode;
}
file{"$documentroot":
ensure => directory,
diff --git a/manifests/defines/vhost_varieties.pp b/manifests/defines/vhost_varieties.pp
index 3fe557b..ea34555 100644
--- a/manifests/defines/vhost_varieties.pp
+++ b/manifests/defines/vhost_varieties.pp
@@ -87,7 +87,7 @@ define apache::vhost::php::standard(
$path = 'absent',
$template_mode = 'php',
$owner = root,
- $group = 0,
+ $group = apache,
$documentroot_owner = apache,
$documentroot_group = 0,
$documentroot_mode = 0750,