summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-11-09 09:51:51 +0100
committervarac <varacanero@zeromail.org>2015-11-09 09:51:51 +0100
commitaf322a73c013f80a958ab7d5d31d0c75cf6d0523 (patch)
treeb746a93f7c0d515e4c1358d6931c741560cd8486 /templates
parentb398f3cb0a67d1170d0564a3f03977f9a08c2b6c (diff)
[deprec] use @ in front of erb template tagsHEADmaster
Puppet 3 shows now deprecation warnings if the "@" is missing. see https://docs.puppetlabs.com/puppet/latest/reference/lang_template_erb.html#non-printing-tags
Diffstat (limited to 'templates')
-rw-r--r--templates/haproxy-base.cfg.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/haproxy-base.cfg.erb b/templates/haproxy-base.cfg.erb
index 42e791c..f25d5c3 100644
--- a/templates/haproxy-base.cfg.erb
+++ b/templates/haproxy-base.cfg.erb
@@ -1,5 +1,5 @@
global
-<% global_options.sort.each do |key,val| -%>
+<% @global_options.sort.each do |key,val| -%>
<% if val.is_a?(Array) -%>
<% val.each do |item| -%>
<%= key %> <%= item %>
@@ -10,7 +10,7 @@ global
<% end -%>
defaults
-<% defaults_options.sort.each do |key,val| -%>
+<% @defaults_options.sort.each do |key,val| -%>
<% if val.is_a?(Array) -%>
<% val.each do |item| -%>
<%= key %> <%= item %>