X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/cbf4196ce80c8b57a04aff7cd6b881671271b2c5..a7de9e4abe76f8cd647eea949f99687fcc19254c:/cookbooks/logstash/recipes/default.rb?ds=sidebyside 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")