X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/43579f6444232b183805cfba96dcac36332c81f2..0885511637f2cab59071459563704c79be69249c:/cookbooks/snmpd/recipes/default.rb diff --git a/cookbooks/snmpd/recipes/default.rb b/cookbooks/snmpd/recipes/default.rb index c67466785..ef6094b01 100644 --- a/cookbooks/snmpd/recipes/default.rb +++ b/cookbooks/snmpd/recipes/default.rb @@ -34,7 +34,7 @@ template "/etc/snmp/snmpd.conf" do group "root" mode 0600 variables :communities => communities - notifies :restart, resources(:service => "snmpd") + notifies :restart, "service[snmpd]" end node[:snmpd][:clients].each do |address|