]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/logstash/recipes/default.rb
Set correct permissions on logstash logrotate config
[chef.git] / cookbooks / logstash / recipes / default.rb
index b5d03970567372b59a18e38f9e47c497ea0eb48e..0fb88c8ab38f5ef81b19f337b546fb5204080cf6 100644 (file)
@@ -48,6 +48,10 @@ template "/etc/logstash/conf.d/chef.conf" do
   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