X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..37c0446fb32977edfa5647799a62bde3256a6d32:/cookbooks/ntp/attributes/default.rb diff --git a/cookbooks/ntp/attributes/default.rb b/cookbooks/ntp/attributes/default.rb index 81ef7aa17..5d9d72439 100644 --- a/cookbooks/ntp/attributes/default.rb +++ b/cookbooks/ntp/attributes/default.rb @@ -1,7 +1,7 @@ -case platform -when "ubuntu","debian" +case node[:platform] +when "ubuntu", "debian" default[:ntp][:service] = "ntp" -when "redhat","centos","fedora" +when "redhat", "centos", "fedora" default[:ntp][:service] = "ntpd" end