diff options
author | mh <mh@immerda.ch> | 2014-04-18 11:10:16 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-04-18 11:10:16 +0200 |
commit | 5228a3d6bd2fce2e56bea538bd9c29641cf22474 (patch) | |
tree | 892e962bbd36915248545bf122810b4c2aa936fe /templates/torrc.dns.erb | |
parent | 0a7fa2d5ec783a0c72dc2484c0e5958ec281db1f (diff) |
address puppet 3.x deprecation warnings
Diffstat (limited to 'templates/torrc.dns.erb')
-rw-r--r-- | templates/torrc.dns.erb | 6 |
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 -%> |