X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..93462ef55b24b71edbcdbe0f1694f5ae483c6c6c:/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