summaryrefslogtreecommitdiff
path: root/templates/vhosts/itk_plus.erb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-03-20 21:51:36 +0100
committermh <mh@immerda.ch>2013-03-20 21:51:36 +0100
commit2671311f38f8891d76b55c08d5ea1b2d9599ecad (patch)
treed9e63608adf1a05f8c28f08eae558f40dfbf81eb /templates/vhosts/itk_plus.erb
parent9c17d2b696e026eeca9d4c4b862f839479bbae64 (diff)
make things puppet 3 ready
Diffstat (limited to 'templates/vhosts/itk_plus.erb')
-rw-r--r--templates/vhosts/itk_plus.erb6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/vhosts/itk_plus.erb b/templates/vhosts/itk_plus.erb
index b7cb180..b546196 100644
--- a/templates/vhosts/itk_plus.erb
+++ b/templates/vhosts/itk_plus.erb
@@ -2,9 +2,5 @@
<%= scope.function_template(['apache/vhost/default.erb']) %>
</IfDefine>
<IfDefine !HttpdLocal>
-<%
- scope.unsetvar('template_partial')
- scope.setvar('template_partial','apache/vhosts/itk_plus/partial.erb')
--%>
-<%= scope.function_template(['apache/vhost/default.erb']) %>
+<%= scope.function_templatewlv(['apache/vhost/default.erb', {'template_partial' => 'apache/vhosts/itk_plus/partial.erb' }]) %>
</IfDefine>