Permalink
Browse files

fix improper boolean check

  • Loading branch information...
1 parent eb2febb commit 9a95ad3b2bf4d9dc7dc6072dd9d5188496a4264d @jerrod committed Nov 14, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/default.rb
View
@@ -4,10 +4,10 @@
#
#
-if node["databox"]["databases"]["mysql"]
+if node["databox"]["databases"]["mysql"].any?
include_recipe "databox::mysql"
end
-if node["databox"]["databases"]["postgresql"]
+if node["databox"]["databases"]["postgresql"].any?
include_recipe "databox::postgresql"
end

0 comments on commit 9a95ad3

Please sign in to comment.