]> git.openstreetmap.org Git - chef.git/commitdiff
Don't use ||= in attributes files as it doesn't work
authorTom Hughes <tom@compton.nu>
Sat, 23 Nov 2013 17:00:11 +0000 (17:00 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 23 Nov 2013 17:00:11 +0000 (17:00 +0000)
cookbooks/apt/attributes/default.rb

index 2ecdb20427f44f87e87d66998268d81eb303f2a4..f15361411360fef0978c6203cfcf447e7145691e 100644 (file)
@@ -1 +1 @@
-default[:apt][:sources] ||= []
+default_unless[:apt][:sources] = []