]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/recipes/default.rb
Use strings for file modes
[chef.git] / cookbooks / ntp / recipes / default.rb
index 1a762f6d1adaa81f2e8cccd2928eff0bf4c3cf7f..02c80bc011f080db4d04c79253a86dbd9d2d1450 100644 (file)
@@ -42,7 +42,7 @@ template "/etc/chrony/chrony.conf" do
   source "chrony.conf.erb"
   owner "root"
   group "root"
-  mode 0o644
+  mode "644"
   notifies :restart, "service[chrony]"
 end
 
@@ -69,4 +69,5 @@ execute "chronyc-online" do
   command "/usr/bin/chronyc online"
   user "root"
   group "root"
+  ignore_failure true
 end