summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-02 12:38:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-02 12:38:44 -0300
commiteb43da7d5253fec32e1bccc997bad97c2160d7ac (patch)
tree05d07b25f37628a72173a6bb2d6595736e36516b
parentd8b13a863d928e3a8a46b05396ba7a5ae5a52829 (diff)
downloadpuppet-apache-eb43da7d5253fec32e1bccc997bad97c2160d7ac.tar.gz
puppet-apache-eb43da7d5253fec32e1bccc997bad97c2160d7ac.tar.bz2
User apache::envvars
-rw-r--r--manifests/init.pp7
1 files changed, 1 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2960e2f..6c9aa51 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -239,16 +239,11 @@ class apache(
},
}
- file { '/etc/apache2/envvars' :
- ensure => present,
- owner => 'root',
- group => 'root',
- mode => '0644',
+ class { 'apache::envvars':
source => $::virtual ? {
'vserver' => 'puppet:///modules/apache/envvars.vserver',
default => undef,
},
- notify => Service["apache"],
}
# Legacy configuration