From a003daa3f12be6bf697ff98a4b974123aee1dc2a Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 21 Mar 2016 13:51:25 +0000 Subject: [PATCH] Set correct permissions on logstash logrotate config --- cookbooks/logstash/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5