aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.socks.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.socks.erb
parent0a7fa2d5ec783a0c72dc2484c0e5958ec281db1f (diff)
downloadpuppet-tor-5228a3d6bd2fce2e56bea538bd9c29641cf22474.tar.gz
puppet-tor-5228a3d6bd2fce2e56bea538bd9c29641cf22474.tar.bz2
address puppet 3.x deprecation warnings
Diffstat (limited to 'templates/torrc.socks.erb')
-rw-r--r--templates/torrc.socks.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/torrc.socks.erb b/templates/torrc.socks.erb
index caf750d..4bc3ddc 100644
--- a/templates/torrc.socks.erb
+++ b/templates/torrc.socks.erb
@@ -1,9 +1,9 @@
# socks
-SocksPort <%= port %>
-<%- for listen_address in listen_addresses -%>
+SocksPort <%= @port %>
+<% @listen_addresses.each do |listen_address| -%>
SocksListenAddress <%= listen_address %>
-<%- end -%>
-<%- for policy in policies -%>
+<% end -%>
+<% @policies.each do |policy| -%>
SocksPolicy <%= policy %>
-<%- end -%>
+<% end -%>