diff options
author | Micah <micah@riseup.net> | 2017-11-01 16:29:24 +0000 |
---|---|---|
committer | Micah <micah@riseup.net> | 2017-11-01 16:29:24 +0000 |
commit | e70337a9a5ac51715e54420f335e2358eee5638e (patch) | |
tree | 826f82a0a13ff898f4f4767bf0975a7d6431cf15 /templates/torrc.hidden_service.erb | |
parent | 9e67096ad42d71545d5cae9ff4283c1f6d1bdfaf (diff) | |
parent | 26f56433a57aec688a18a964751cfe08b62d9bd8 (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.hidden_service.erb')
-rw-r--r-- | templates/torrc.hidden_service.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.hidden_service.erb b/templates/torrc.hidden_service.erb index 5b6afe1..6672937 100644 --- a/templates/torrc.hidden_service.erb +++ b/templates/torrc.hidden_service.erb @@ -6,7 +6,7 @@ SOCKSPort 0 # hidden service <%= @name %> HiddenServiceDir <%= @data_dir %>/<%= @name %> -<% @ports.each do |port| -%> +<% Array(@ports).each do |port| -%> HiddenServicePort <%= port %> <% end -%> |