X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a68415b8f2bf106b6ea5948b0605c897b516ef4f..9c3db8b15ab975e975cb31ca8bb388b79f6e5c8e:/cookbooks/ntp/recipes/default.rb diff --git a/cookbooks/ntp/recipes/default.rb b/cookbooks/ntp/recipes/default.rb index 29f79d693..ef5b328b3 100644 --- a/cookbooks/ntp/recipes/default.rb +++ b/cookbooks/ntp/recipes/default.rb @@ -19,9 +19,11 @@ 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"