]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/logstash/recipes/forwarder.rb
Convert more URLs to https
[chef.git] / cookbooks / logstash / recipes / forwarder.rb
index 093912d7c22f32bd3904af502d262a87b932f3a5..d6956a8f7180ee9af39bf97f0f7a13aa59ce1d23 100644 (file)
@@ -8,7 +8,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#     http://www.apache.org/licenses/LICENSE-2.0
+#     https://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
@@ -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