user "root"
group "root"
mode 0644
- notifies :restart, "service[logstash]"
+ notifies :reload, "service[logstash]"
end
file "/etc/logrotate.d/logstash" do
service "logstash" do
action [:enable, :start]
- supports :status => true, :restart => true
+ supports :status => true, :restart => true, :reload => true
end
template "/etc/cron.daily/expire-logstash" do