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 2ecdb20..f153614 100644 (file)
@@ -1 +1 @@
-default[:apt][:sources] ||= []
+default_unless[:apt][:sources] = []