X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cbf4196ce80c8b57a04aff7cd6b881671271b2c5..ad6b3f72b1b2bb9c7184f3badc87193b4e57aba0:/cookbooks/logstash/recipes/default.rb diff --git a/cookbooks/logstash/recipes/default.rb b/cookbooks/logstash/recipes/default.rb index e58df226b..712b33cb8 100644 --- a/cookbooks/logstash/recipes/default.rb +++ b/cookbooks/logstash/recipes/default.rb @@ -31,7 +31,7 @@ cookbook_file "/var/lib/logstash/beats.crt" do source "beats.crt" user "root" group "logstash" - mode 0o644 + mode "644" notifies :restart, "service[logstash]" end @@ -39,7 +39,7 @@ file "/var/lib/logstash/beats.key" do content keys["beats"].join("\n") user "root" group "logstash" - mode 0o640 + mode "640" notifies :restart, "service[logstash]" end @@ -47,19 +47,19 @@ template "/etc/logstash/conf.d/chef.conf" do source "logstash.conf.erb" user "root" group "root" - mode 0o644 + mode "644" notifies :start, "service[logstash]" end file "/etc/logrotate.d/logstash" do - mode 0o644 + mode "644" end template "/etc/default/logstash" do source "logstash.default.erb" user "root" group "root" - mode 0o644 + mode "644" notifies :restart, "service[logstash]" end @@ -71,7 +71,7 @@ template "/etc/cron.daily/expire-logstash" do source "expire.erb" owner "root" group "root" - mode 0o755 + mode "755" end forwarders = search(:node, "recipes:logstash\\:\\:forwarder")