projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3fee3
)
Don't use ||= in attributes files as it doesn't work
author
Tom Hughes
<tom@compton.nu>
Sat, 23 Nov 2013 17:00:11 +0000
(17:00 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sat, 23 Nov 2013 17:00:11 +0000
(17:00 +0000)
cookbooks/apt/attributes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/apt/attributes/default.rb
b/cookbooks/apt/attributes/default.rb
index 2ecdb20427f44f87e87d66998268d81eb303f2a4..f15361411360fef0978c6203cfcf447e7145691e 100644
(file)
--- a/
cookbooks/apt/attributes/default.rb
+++ b/
cookbooks/apt/attributes/default.rb
@@
-1
+1
@@
-default
[:apt][:sources] ||
= []
+default
_unless[:apt][:sources]
= []