diff options
author | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-10-11 15:35:21 -0400 |
---|---|---|
committer | Louis-Philippe VĂ©ronneau <pollito@riseup.net> | 2017-10-11 15:35:21 -0400 |
commit | 26f56433a57aec688a18a964751cfe08b62d9bd8 (patch) | |
tree | e9963256735a2987e4055986c2cd03da56de68f8 /templates/torrc.global.erb | |
parent | 5ef29012dccc90e68afc215be9521629a0903bc6 (diff) |
puppet 4 needs arrays in templates to be marked as such
Diffstat (limited to 'templates/torrc.global.erb')
-rw-r--r-- | templates/torrc.global.erb | 2 |
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 -%> |