From 150d2fb83234bca36ef37a25dfb18ca6086494b5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 2 Aug 2015 11:46:58 -0300 Subject: Manage /etc/apache2/envvars on vservers --- manifests/init.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'manifests/init.pp') 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, -- cgit v1.2.3