[chef] Re: Re: data bags and recipe


Chronological Thread 
  • From: Dorian Jaminais < >
  • To: " " < >
  • Subject: [chef] Re: Re: data bags and recipe
  • Date: Tue, 9 Jul 2013 15:35:55 +0200

Hi Sean,

I also do that for most of the data.

My use case here is to store passwords generated on the node to be used by other nodes. We have separated environment for each client with dedicated databags and encryption key so I wanted to leverage this to avoid having the password in plaintext in the node's attribute.


2013/7/9 Sean OMeara < " target="_blank"> >
Hi Dorian.

What kind of data do you need to exchange between nodes?
One strategy I've used in the past is having clients stash data in their own node object and having others search for it.

Something like this may or may not work for you:

stash data:


then search


-s


On Tue, Jul 9, 2013 at 6:40 AM, Dorian Jaminais < " target="_blank"> > wrote:
Hi 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.

--
Dorian JAMINAIS
System Administrator
+33 6 95 10 95 37







--
Dorian JAMINAIS
System Administrator
+33 6 95 10 95 37






Archive powered by MHonArc 2.6.16.

§