summaryrefslogtreecommitdiff
path: root/templates/error.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-19 16:04:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-19 16:04:58 -0200
commit2c16c4788cc352a79c548fd9164d65264ae55d22 (patch)
tree536f777142d2117405a005f44936b6b0d55ab002 /templates/error.erb
parent35690aec253a16ca0c48f4fb249ce940dc5f48e0 (diff)
downloadpuppet-apache-2c16c4788cc352a79c548fd9164d65264ae55d22.tar.gz
puppet-apache-2c16c4788cc352a79c548fd9164d65264ae55d22.tar.bz2
Upgrading for 2.7 compatibility
Diffstat (limited to 'templates/error.erb')
-rw-r--r--templates/error.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/error.erb b/templates/error.erb
index e0dbb0e..70693fe 100644
--- a/templates/error.erb
+++ b/templates/error.erb
@@ -2,10 +2,10 @@
<VirtualHost *:80>
ServerName error.<%= hosting_domain %>
ServerAlias *.<%= hosting_domain %>
- DocumentRoot <%= apache_error_folder %>
- ErrorDocument 404 <%= apache_error_dest %>
+ DocumentRoot <%= scope.lookupvar('apache::error_folder') %>
+ ErrorDocument 404 <%= scope.lookupvar('apache::error_dest') %>
- <Directory <%= apache_error_folder %>>
+ <Directory <%= scope.lookupvar('apache::error_folder') %>>
DirectoryIndex index.html
Options Indexes -Includes FollowSymLinks -MultiViews
AllowOverride None