It can be done, the permissions out of the box don't allow it though. Check this out:http://docs.opscode.com/essentials_data_bags.html#create-and-edit
From: Dorian Jaminais
Sent: Tuesday, July 09, 2013 5:40 AM
To: " target="_blank">
Subject: [chef] data bags and recipeHi Chefs,
I was wondering it it was possible to write to a data bag from within a recipe?
I know this is not the main purpose of a data bag but sometimes I need to exchange data between several nodes. I sure can put that data in myself but it'd be better if fully automated.
Archive powered by MHonArc 2.6.16.