summaryrefslogtreecommitdiff
path: root/templates/torrc.global.erb
diff options
context:
space:
mode:
authorMicah <micah@riseup.net>2017-11-01 16:29:24 +0000
committerMicah <micah@riseup.net>2017-11-01 16:29:24 +0000
commite70337a9a5ac51715e54420f335e2358eee5638e (patch)
tree826f82a0a13ff898f4f4767bf0975a7d6431cf15 /templates/torrc.global.erb
parent9e67096ad42d71545d5cae9ff4283c1f6d1bdfaf (diff)
parent26f56433a57aec688a18a964751cfe08b62d9bd8 (diff)
Merge branch 'puppet4-fixes' into 'master'
puppet 4 needs arrays in templates to be marked as such See merge request shared-puppet-modules-group/tor!12
Diffstat (limited to 'templates/torrc.global.erb')
-rw-r--r--templates/torrc.global.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb
index a02afc8..c29b76b 100644
--- a/templates/torrc.global.erb
+++ b/templates/torrc.global.erb
@@ -8,7 +8,7 @@ DataDirectory <%= v %>
<% if (rules=scope.lookupvar('tor::daemon::log_rules')).empty? -%>
Log notice syslog
<% else -%>
-<% rules.each do |log_rule| -%>
+<% Array(rules).each do |log_rule| -%>
Log <%= log_rule %>
<% end -%>
<% end -%>