package "snmpd"
service "snmpd" do
- action [ :enable, :start ]
+ action [:enable, :start]
supports :status => true, :restart => true
end
group "root"
mode 0600
variables :communities => communities
- notifies :restart, resources(:service => "snmpd")
+ notifies :restart, "service[snmpd]"
end
node[:snmpd][:clients].each do |address|