]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/logstash/recipes/forwarder.rb
Fix rubocop warnings
[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"
-  mode 0644
+  mode 0o644
   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"
-  mode 0644
+  mode 0o644
   notifies :restart, "service[logstash-forwarder]"
 end