diff options
Diffstat (limited to 'modules/apache')
-rw-r--r-- | modules/apache/manifests/init.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 403948a0..6b8f7bef 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -1,5 +1,7 @@ class apache { + $vhost_dir = "/etc/httpd/conf/vhosts.d" + class base { package { "apache-mpm-prefork": alias => apache, @@ -56,7 +58,7 @@ class apache { define vhost_redirect_ssl() { file { "redirect_ssl_$name.conf": - path => "/etc/httpd/conf/vhosts.d/redirect_ssl_$name.conf", + path => "$vhost_dir/redirect_ssl_$name.conf", ensure => "present", owner => root, group => root, @@ -71,7 +73,7 @@ class apache { include apache::mod_fastcgi file { "$name.conf": - path => "/etc/httpd/conf/vhosts.d/$name.conf", + path => "$vhost_dir/$name.conf", ensure => "present", owner => root, group => root, |