X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/333279515fb94b7fbcf9ac1f98eb7e541139a797..a68415b8f2bf106b6ea5948b0605c897b516ef4f:/cookbooks/ntp/recipes/default.rb diff --git a/cookbooks/ntp/recipes/default.rb b/cookbooks/ntp/recipes/default.rb index 96e6c2caf..29f79d693 100644 --- a/cookbooks/ntp/recipes/default.rb +++ b/cookbooks/ntp/recipes/default.rb @@ -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,7 +47,7 @@ template "/etc/ntp.conf" do source "ntp.conf.erb" owner "root" group "root" - mode 0644 + mode 0o644 notifies :restart, "service[ntp]" end