]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/recipes/default.rb
Use multipackage installs throughout
[chef.git] / cookbooks / ntp / recipes / default.rb
index 29f79d6935b5b5d8a81261a12efaf72a72cae95a..ef5b328b311122442b9f0bb2d1ee3ab7bab716cd 100644 (file)
 
 require "socket"
 
-package "ntp"
-package "ntpdate"
-package "tzdata"
+package %w[
+  ntp
+  ntpdate
+  tzdata
+]
 
 execute "dpkg-reconfigure-tzdata" do
   action :nothing
@@ -51,7 +53,7 @@ template "/etc/ntp.conf" do
   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"