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.exit_policy.erb | |
parent | 5ef29012dccc90e68afc215be9521629a0903bc6 (diff) |
puppet 4 needs arrays in templates to be marked as such
Diffstat (limited to 'templates/torrc.exit_policy.erb')
-rw-r--r-- | templates/torrc.exit_policy.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/torrc.exit_policy.erb b/templates/torrc.exit_policy.erb index a30d43b..5481914 100644 --- a/templates/torrc.exit_policy.erb +++ b/templates/torrc.exit_policy.erb @@ -2,10 +2,10 @@ <% if @reject_private != '1' -%> ExitPolicyRejectPrivate <%= @reject_private %> <% end -%> -<% @accept.each do |policy| -%> +<% Array(@accept).each do |policy| -%> ExitPolicy accept <%= policy %> <% end -%> -<% @reject.each do |policy| -%> +<% Array(@reject).each do |policy| -%> ExitPolicy reject <%= policy %> <% end -%> |