projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct variable name in systemd unit
[mirror/dsa-puppet.git]
/
modules
/
onion
/
templates
/
torrc-header.erb
diff --git
a/modules/onion/templates/torrc-header.erb
b/modules/onion/templates/torrc-header.erb
index
845adbf
..
b45b81d
100644
(file)
--- a/
modules/onion/templates/torrc-header.erb
+++ b/
modules/onion/templates/torrc-header.erb
@@
-1,7
+1,7
@@
SocksPort 0
Log notice syslog
SocksPort 0
Log notice syslog
-<%- if has_variable?("tor_ge_0_2_9") &&
tor_ge_0_2_9 == "true"
-%>
+<%- if has_variable?("tor_ge_0_2_9") &&
@tor_ge_0_2_9
-%>
#HiddenServiceSingleHopMode 1
#HiddenServiceNonAnonymousMode 1
<%- end -%>
#HiddenServiceSingleHopMode 1
#HiddenServiceNonAnonymousMode 1
<%- end -%>