summaryrefslogtreecommitdiff
path: root/templates/error.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-03 16:59:07 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-03 16:59:07 -0200
commitb1bf78c8af695cc306fe8051eec4dc956f1eb826 (patch)
tree123abc7e8346317efcc5913b7af0859045df722c /templates/error.erb
parentc5f141db8cd3961ba2d62763dd1d0975ed8f6956 (diff)
downloadpuppet-apache-b1bf78c8af695cc306fe8051eec4dc956f1eb826.tar.gz
puppet-apache-b1bf78c8af695cc306fe8051eec4dc956f1eb826.tar.bz2
Fix template deprecations
Diffstat (limited to 'templates/error.erb')
-rw-r--r--templates/error.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/error.erb b/templates/error.erb
index 4e13d60..27a2c8e 100644
--- a/templates/error.erb
+++ b/templates/error.erb
@@ -1,7 +1,7 @@
# vhost to handle inexistent vhosts
<VirtualHost *:<%= scope.lookupvar('apache::http_port') %>>
- ServerName error.<%= hosting_domain %>
- ServerAlias *.<%= hosting_domain %>
+ ServerName error.<%= @hosting_domain %>
+ ServerAlias *.<%= @hosting_domain %>
DocumentRoot <%= scope.lookupvar('apache::error_folder') %>
ErrorDocument 404 <%= scope.lookupvar('apache::error_dest') %>