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