]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/attributes/default.rb
Fix use of deprecated features
[chef.git] / cookbooks / ntp / attributes / default.rb
index 81ef7aa176653cfc393d11a640b90c9b9307784c..5d9d724398aab5fa5dd4c19cdefa5338b80b4dcd 100644 (file)
@@ -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