summaryrefslogtreecommitdiff
path: root/templates/torrc.dns.erb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-04-18 11:10:16 +0200
committermh <mh@immerda.ch>2014-04-18 11:10:16 +0200
commit5228a3d6bd2fce2e56bea538bd9c29641cf22474 (patch)
tree892e962bbd36915248545bf122810b4c2aa936fe /templates/torrc.dns.erb
parent0a7fa2d5ec783a0c72dc2484c0e5958ec281db1f (diff)
address puppet 3.x deprecation warnings
Diffstat (limited to 'templates/torrc.dns.erb')
-rw-r--r--templates/torrc.dns.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/torrc.dns.erb b/templates/torrc.dns.erb
index bd1e719..57cf46d 100644
--- a/templates/torrc.dns.erb
+++ b/templates/torrc.dns.erb
@@ -1,5 +1,5 @@
# DNS
-DNSPort <%= port %>
-<%- for listen_address in listen_addresses -%>
+DNSPort <%= @port %>
+<% @listen_addresses.each do |listen_address| -%>
DNSListenAddress <%= listen_address %>
-<%- end -%>
+<% end -%>