X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/43579f6444232b183805cfba96dcac36332c81f2..f8dbb973859a4686501746d22cf8a0617352b5e3:/cookbooks/snmpd/recipes/default.rb?ds=inline diff --git a/cookbooks/snmpd/recipes/default.rb b/cookbooks/snmpd/recipes/default.rb index c67466785..ecc8170cd 100644 --- a/cookbooks/snmpd/recipes/default.rb +++ b/cookbooks/snmpd/recipes/default.rb @@ -24,7 +24,7 @@ communities = data_bag_item("snmpd", "communities") package "snmpd" service "snmpd" do - action [ :enable, :start ] + action [:enable, :start] supports :status => true, :restart => true end @@ -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|