I've been playing around with Chef to evaluate it as a potential CD tool for the company I work for.
So far I've been using it with Vagrant to provision a VM. In my recipes I've been retrieving the username/password from data bags.
I'm now looking to re-use these recipes across multiple nodes which all have different credentials so pointing to one data bag for credentials is no longer sufficient.
The only way I can see to get around the issue is to store the username and password in the node attributes, however is this best practice/secure?
I've done some googling around this and can't get a clear answer...