]> 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 66088fb2e65a0a095660752c0f15729435259116..5d9d724398aab5fa5dd4c19cdefa5338b80b4dcd 100644 (file)
@@ -1,4 +1,4 @@
-case platform
+case node[:platform]
 when "ubuntu", "debian"
   default[:ntp][:service] = "ntp"
 when "redhat", "centos", "fedora"