summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2196b55..d4ea486 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -226,6 +226,18 @@ class apache(
},
}
+ file { '/etc/apache2/envvars' :
+ ensure => present,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ source => $::virtual ? {
+ 'vserver' => 'puppet:///modules/apache/envvars.vserver',
+ default => undef,
+ },
+ notify => Service["apache"],
+ }
+
# Legacy configuration
file { "$conf_d/macros":
ensure => absent,