]> git.openstreetmap.org Git - chef.git/commitdiff
Set correct permissions on logstash logrotate config
authorTom Hughes <tom@compton.nu>
Mon, 21 Mar 2016 13:51:25 +0000 (13:51 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 21 Mar 2016 13:51:25 +0000 (13:51 +0000)
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