diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-19 16:04:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-19 16:04:58 -0200 |
commit | 2c16c4788cc352a79c548fd9164d65264ae55d22 (patch) | |
tree | 536f777142d2117405a005f44936b6b0d55ab002 /templates/error.erb | |
parent | 35690aec253a16ca0c48f4fb249ce940dc5f48e0 (diff) | |
download | puppet-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.erb | 6 |
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 |