From: Tom Hughes Date: Mon, 21 Mar 2016 13:51:25 +0000 (+0000) Subject: Set correct permissions on logstash logrotate config X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/a003daa3f12be6bf697ff98a4b974123aee1dc2a Set correct permissions on logstash logrotate config --- diff --git a/cookbooks/logstash/recipes/default.rb b/cookbooks/logstash/recipes/default.rb index b5d039705..0fb88c8ab 100644 --- a/cookbooks/logstash/recipes/default.rb +++ b/cookbooks/logstash/recipes/default.rb @@ -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