aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.directory.erb
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-11 01:10:36 -0200
committerdrebs <drebs@riseup.net>2012-01-11 01:10:36 -0200
commitde068866889976b7f30391c5fb794cda53544c67 (patch)
tree3403d283fcbce8ce47715382d837c8e3df37ebb6 /templates/torrc.directory.erb
parent6e49deaaf26b693ca3538b0239ba7f998d81ef37 (diff)
downloadpuppet-tor-de068866889976b7f30391c5fb794cda53544c67.tar.gz
puppet-tor-de068866889976b7f30391c5fb794cda53544c67.tar.bz2
parts of configuration are independent
Diffstat (limited to 'templates/torrc.directory.erb')
-rw-r--r--templates/torrc.directory.erb12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/torrc.directory.erb b/templates/torrc.directory.erb
index 56cfae0..14712ef 100644
--- a/templates/torrc.directory.erb
+++ b/templates/torrc.directory.erb
@@ -1,12 +1,12 @@
# directory listing
-<%- if dir_port != '0' then -%>
-DirPort <%= dir_port %>
+<%- if port != '0' then -%>
+DirPort <%= port %>
<%- end -%>
-<%- if dir_listen_address != '' then -%>
-DirListenAddress <%= dir_listen_address %>
+<%- for listen_address in listen_addresses -%>
+DirListenAddress <%= listen_address %>
<%- end -%>
-<%- if dir_port_front_page != '' then -%>
-DirPortFrontPage <%= dir_port_front_page %>
+<%- if port_front_page != '' then -%>
+DirPortFrontPage <%= port_front_page %>
<%- end -%>