aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-02-08 01:39:18 +0200
committerThomas Backlund <tmb@mageia.org>2016-02-08 01:39:18 +0200
commitcaa691d2e81851307fe0d1283f31cc3029fcb403 (patch)
tree8abf5de16b8d4958e4861c6493eb6b2d1ea9ee41 /deployment/websites
parent9cd1ce85970b370390ab99aa385ccd0bdf85b03a (diff)
downloadpuppet-caa691d2e81851307fe0d1283f31cc3029fcb403.tar
puppet-caa691d2e81851307fe0d1283f31cc3029fcb403.tar.gz
puppet-caa691d2e81851307fe0d1283f31cc3029fcb403.tar.bz2
puppet-caa691d2e81851307fe0d1283f31cc3029fcb403.tar.xz
puppet-caa691d2e81851307fe0d1283f31cc3029fcb403.zip
fix up vhostdir variable lookup
Diffstat (limited to 'deployment/websites')
-rw-r--r--deployment/websites/templates/vhost_static.conf12
1 files changed, 6 insertions, 6 deletions
diff --git a/deployment/websites/templates/vhost_static.conf b/deployment/websites/templates/vhost_static.conf
index 2d3f4c44..d250a712 100644
--- a/deployment/websites/templates/vhost_static.conf
+++ b/deployment/websites/templates/vhost_static.conf
@@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName static.<%= domain %>
- DocumentRoot <%= vhostdir %>
+ DocumentRoot <%= scope.lookupvar("websites::static::vhostdir") %>
CustomLog /var/log/httpd/static_log combined
ErrorLog /var/log/httpd/error_static_log
@@ -26,13 +26,13 @@
Allow from all
</Location>
- <Directory <%= vhostdir %>>
+ <Directory <%= scope.lookupvar("websites::static::vhostdir") %>>
Order deny,allow
Deny from All
AllowOverride None
</Directory>
- <Directory <%= vhostdir %>/g>
+ <Directory <%= scope.lookupvar("websites::static::vhostdir") %>/g>
Order deny,allow
Allow from All
AllowOverride None
@@ -42,7 +42,7 @@
<VirtualHost *:443>
ServerName static.<%= domain %>
- DocumentRoot <%= vhostdir %>
+ DocumentRoot <%= scope.lookupvar("websites::static::vhostdir") %>
CustomLog /var/log/httpd/static_log combined
ErrorLog /var/log/httpd/error_static_log
@@ -69,13 +69,13 @@
Allow from all
</Location>
- <Directory <%= vhostdir %>>
+ <Directory <%= scope.lookupvar("websites::static::vhostdir") %>>
Order deny,allow
Deny from All
AllowOverride None
</Directory>
- <Directory <%= vhostdir %>/g>
+ <Directory <%= scope.lookupvar("websites::static::vhostdir") %>/g>
Order deny,allow
Allow from All
AllowOverride None