diff options
author | mh <mh@immerda.ch> | 2014-04-18 10:58:56 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-04-18 10:58:56 +0200 |
commit | 41d778fe47c20f2d4c37b4c3089d50fbac6535a3 (patch) | |
tree | 7d88ed6ca5e7b1733204f624fef6d3ce92750a4c /templates/vhosts/php_joomla/partial.erb | |
parent | d4a70a927e41c181aa07d467a2478db74439aadb (diff) |
address puppet 3.x deprecation warnings
Diffstat (limited to 'templates/vhosts/php_joomla/partial.erb')
-rw-r--r-- | templates/vhosts/php_joomla/partial.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/vhosts/php_joomla/partial.erb b/templates/vhosts/php_joomla/partial.erb index 64e73a9..5a0f720 100644 --- a/templates/vhosts/php_joomla/partial.erb +++ b/templates/vhosts/php_joomla/partial.erb @@ -1,4 +1,4 @@ - <Directory "<%= documentroot %>/"> + <Directory "<%= @documentroot %>/"> <%= scope.function_template(['apache/vhosts/partials/std_override_options.erb']) %> <%= scope.function_template(['apache/vhosts/partials/php_settings.erb']) %> @@ -8,7 +8,7 @@ Include include.d/joomla.inc </Directory> - <Directory "<%= documentroot %>/administrator/"> + <Directory "<%= @documentroot %>/administrator/"> RewriteEngine on # Rewrite URLs to https that go for the admin area @@ -20,13 +20,13 @@ # Deny various directories that # shouldn't be webaccessible - <Directory "<%= documentroot %>/tmp/"> + <Directory "<%= @documentroot %>/tmp/"> Deny From All </Directory> - <Directory "<%= documentroot %>/logs/"> + <Directory "<%= @documentroot %>/logs/"> Deny From All </Directory> - <Directory "<%= documentroot %>/cli/"> + <Directory "<%= @documentroot %>/cli/"> Deny From All </Directory> |