aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.dns.erb
diff options
context:
space:
mode:
authorMicah <micah@riseup.net>2015-03-27 18:50:01 +0000
committerMicah <micah@riseup.net>2015-03-27 18:50:01 +0000
commit3925f36f7cd0f15029304363b0f5749750627c96 (patch)
tree5613a76af8c008a5820e41c097ed94f231412956 /templates/torrc.dns.erb
parenta31579095231c68a2786955b9149d3bcd13400af (diff)
parent19a44ce97f59633002d844e2b37f2b26b2f1cfbc (diff)
downloadpuppet-tor-3925f36f7cd0f15029304363b0f5749750627c96.tar.gz
puppet-tor-3925f36f7cd0f15029304363b0f5749750627c96.tar.bz2
Merge branch 'improvements' into 'master'
Improvements These are a bunch of improvements I got on my github profile in the past. Interested in merging them? Summary: * adds tor repo management * removes a workaround for a fixed bug * adds tor-arm support * support for safe logging * puppet 3 ready templates. It's merged on top of the current master. See merge request !1
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 -%>