Skip to content

Commit

Permalink
Merge branch 'check-empty-db-list'
Browse files Browse the repository at this point in the history
refs teohm#6 and teohm#2
  • Loading branch information
kohenkatz committed Jul 7, 2015
2 parents 891201a + 40baeba commit 476869b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 476869b

Please sign in to comment.