From: Silvio Rhatto Date: Sun, 2 Aug 2015 15:38:44 +0000 (-0300) Subject: User apache::envvars X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=eb43da7d5253fec32e1bccc997bad97c2160d7ac;p=puppet-apache.git User apache::envvars --- 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