diff options
author | varac <varacanero@zeromail.org> | 2015-11-09 09:51:51 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2015-11-09 09:51:51 +0100 |
commit | af322a73c013f80a958ab7d5d31d0c75cf6d0523 (patch) | |
tree | b746a93f7c0d515e4c1358d6931c741560cd8486 /templates | |
parent | b398f3cb0a67d1170d0564a3f03977f9a08c2b6c (diff) |
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.erb | 4 |
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 %> |