]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/logstash/recipes/forwarder.rb
imagery: remove layer yml on delete
[chef.git] / cookbooks / logstash / recipes / forwarder.rb
index 093912d7c22f32bd3904af502d262a87b932f3a5..5dfb427000f3ab05925c640583ee3350792f7a75 100644 (file)
@@ -25,7 +25,7 @@ cookbook_file "/var/lib/logstash-forwarder/lumberjack.crt" do
   source "lumberjack.crt"
   user "root"
   group "root"
   source "lumberjack.crt"
   user "root"
   group "root"
-  mode 0644
+  mode 0o644
   notifies :restart, "service[logstash-forwarder]"
 end
 
   notifies :restart, "service[logstash-forwarder]"
 end
 
@@ -33,7 +33,7 @@ file "/etc/logstash-forwarder.conf" do
   content JSON.pretty_generate(node[:logstash][:forwarder])
   user "root"
   group "root"
   content JSON.pretty_generate(node[:logstash][:forwarder])
   user "root"
   group "root"
-  mode 0644
+  mode 0o644
   notifies :restart, "service[logstash-forwarder]"
 end
 
   notifies :restart, "service[logstash-forwarder]"
 end