is there currently a way to test recipes that are configured via databags?
chef.data_bags_path in the Vagrantfile:
So I assume it’s not supported so far, unless someone can prove me wrong.
An easy solution would be to hava a databags dir alongside with the
cookbooks dir in the test kitchen and reference that in the
It would get more tricky if you want to “override” a databag for a
specific configuration. Not sure how to handle this best, but
something like prefixing the databag with the configuration name or
having a subdirectory with configuration name come to my mind.
What do you think?
P.S.: will create a JIRA ticket for this, but want to discuss it here first