X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/22e87649580d1a4329958eff41a83f3f86886156..5fde77fb90280da2c008bb5e8e83f6635b999715:/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 -%>