summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-11-09 10:00:50 +0100
committervarac <varacanero@zeromail.org>2015-11-09 10:00:50 +0100
commita26b91dfea3189e6777629fa00d54f51dc41f4d4 (patch)
tree943935add27bb5b1a159cfdb46225f4c1f9014ba
parent9997485b8a31abbe0cd1943d09995705c2c8146a (diff)
[deprec] use @ in front of erb template tags master
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#[bug|feat|docs|style|refactor|test|pkg|i18n]
-rw-r--r--templates/unbound.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/unbound.conf.erb b/templates/unbound.conf.erb
index 3712c65..ad93965 100644
--- a/templates/unbound.conf.erb
+++ b/templates/unbound.conf.erb
@@ -1,4 +1,4 @@
-<% real_settings.sort.each do |section, settings| -%>
+<% @real_settings.sort.each do |section, settings| -%>
<%= "#{section}:" %>
<% settings.sort.each do |key, val| -%>
<% [val].flatten.each do |val| -%>