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.socks.erb | |
parent | 0a7fa2d5ec783a0c72dc2484c0e5958ec281db1f (diff) | |
download | puppet-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.erb | 10 |
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 -%> |