aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.erb
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-08 03:27:20 -0200
committerdrebs <drebs@riseup.net>2012-01-08 03:27:20 -0200
commit09d2c7140795012a46e55af024bf0503a32b2751 (patch)
treed88289322ee62d5277a274cb8095cbdbbc306da5 /templates/torrc.erb
parent2509c29d11b37681e7d0f1b4f68a31c986e53eef (diff)
downloadpuppet-tor-09d2c7140795012a46e55af024bf0503a32b2751.tar.gz
puppet-tor-09d2c7140795012a46e55af024bf0503a32b2751.tar.bz2
fixing template and dependencies
Diffstat (limited to 'templates/torrc.erb')
-rw-r--r--templates/torrc.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.erb b/templates/torrc.erb
index 2112931..04db56f 100644
--- a/templates/torrc.erb
+++ b/templates/torrc.erb
@@ -23,7 +23,7 @@ RunAsDaemon 1
DataDirectory <%= data_directory %>
## tor controller
-<%- if control_port != 0 then -%>
+<%- if control_port != '0' then -%>
ControlPort <%= control_port %>
HashedControlPassword <%= hashed_control_password %>
<%- end -%>