]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
User apache::envvars
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 2 Aug 2015 15:38:44 +0000 (12:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 2 Aug 2015 15:38:44 +0000 (12:38 -0300)
manifests/init.pp

index 2960e2ff125570e302f4c7ec62d4485f687711a2..6c9aa515bcf0d4da7378bc2ca7aa5c8a179295c5 100644 (file)
@@ -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