diff --git a/recipes/default.rb b/recipes/default.rb index 23fde50..e384bdf 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -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