[chef] Re: Retrieving attributes from the cookbooks


Chronological Thread 
  • From: Jeff Blaine < >
  • To:
  • Subject: [chef] Re: Retrieving attributes from the cookbooks
  • Date: Thu, 08 Aug 2013 09:21:46 -0400


On 8/8/2013 2:41 AM, 

 wrote:
Hi,
Need a clarification regarding the node specific attributes set during the 
chef
run.
For example if I run a mysql cookbook which is having randomly generated 
server
root password,debian password,How can I get those passwords so that I can use?
I could not find anything regarding this in the logs too.

You need to know the cookbook is all. The community mysql cookbook, for example, sets the root password on a node attribute, so just reference the node attribute's value.

More specifically, I ask:

    "get those passwords so that I can use"

Get them from *where*? Another Chef recipe?
Use them for *what*?



Archive powered by MHonArc 2.6.16.

§