]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/attributes/default.rb
Remove cleanup code
[chef.git] / cookbooks / ntp / attributes / default.rb
index 8eccde5fc19c2e93cc7cc497bbe05ca94e64148d..5d9d724398aab5fa5dd4c19cdefa5338b80b4dcd 100644 (file)
@@ -1,7 +1,7 @@
-case platform
-when "ubuntu","debian"
+case node[:platform]
+when "ubuntu", "debian"
   default[:ntp][:service] = "ntp"
   default[:ntp][:service] = "ntp"
-when "redhat","centos","fedora"
+when "redhat", "centos", "fedora"
   default[:ntp][:service] = "ntpd"
 end
 
   default[:ntp][:service] = "ntpd"
 end