X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/cf3464af0874c58fd022fd7c8724f920a0b3c62c..0dd91ce9e96e23195c6248997b649f634c60693b:/cookbooks/snmpd/templates/default/snmpd.conf.erb diff --git a/cookbooks/snmpd/templates/default/snmpd.conf.erb b/cookbooks/snmpd/templates/default/snmpd.conf.erb index e47f2e03f..3b79ad1f8 100644 --- a/cookbooks/snmpd/templates/default/snmpd.conf.erb +++ b/cookbooks/snmpd/templates/default/snmpd.conf.erb @@ -1,6 +1,6 @@ # DO NOT EDIT - This file is being maintained by Chef -<% @communities[node[:snmpd][:community]].each do |community| -%> +<% Array(@communities[node[:snmpd][:community]]).each do |community| -%> rocommunity <%= community %> rocommunity6 <%= community %> <% end -%>