notifies :restart, "service[logstash]"
end
+file "/etc/logrotate.d/logstash" do
+ mode 0644
+end
+
service "logstash" do
action [:enable, :start]
supports :status => true, :restart => true
mode 0755
end
-forwarders = search(:node, "recipes:logstash\\:\\:forwarder")
+forwarders = search(:node, "recipes:logstash\\:\\:forwarder") # ~FC010
forwarders.each do |forwarder|
forwarder.interfaces(:role => :external) do |interface|