teohm/databox-cookbook — pull request #3 by adamvduke (2013-05-09 02:15:33+00:00)
Title: only install the required databases based on the node configuration

the default sets

default["databox"]["databases"]["mysql"] = []
default["databox"]["databases"]["postgresql"] = []

but then the recipe checks

if node["databox"]["databases"]["mysql"]
if node["databox"]["databases"]["postgresql"]

those if statements seem to always evaluate to true because of the default