X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/22e87649580d1a4329958eff41a83f3f86886156..d1f00bcdca1e465514141d591384d219b81b72b0:/cookbooks/snmpd/templates/default/snmpd.conf.erb?ds=sidebyside 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 -%>