]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/recipes/default.rb
Revert "tilecache: remove fallback caches as peers"
[chef.git] / cookbooks / ntp / recipes / default.rb
index 96e6c2cafcec3238085435d816a46a154a32d5ab..cdf3b5a96ae4bafa892ddc19b1b772b026efe835 100644 (file)
@@ -33,7 +33,7 @@ end
 file "/etc/timezone" do
   owner "root"
   group "root"
-  mode 0644
+  mode 0o644
   content "#{node[:tz]}\n"
   notifies :run, "execute[dpkg-reconfigure-tzdata]", :immediately
 end
@@ -47,11 +47,11 @@ template "/etc/ntp.conf" do
   source "ntp.conf.erb"
   owner "root"
   group "root"
-  mode 0644
+  mode 0o644
   notifies :restart, "service[ntp]"
 end
 
-munin_plugins = %w(ntp_kernel_err ntp_kernel_pll_freq ntp_kernel_pll_off ntp_offset)
+munin_plugins = %w[ntp_kernel_err ntp_kernel_pll_freq ntp_kernel_pll_off ntp_offset]
 
 munin_plugin "ntp_kernel_err"
 munin_plugin "ntp_kernel_pll_freq"