[chef] Re: Re: Re: question about data bags - best practice


Chronological Thread 
  • From: Vladimir Skubriev < >
  • To:
  • Subject: [chef] Re: Re: Re: question about data bags - best practice
  • Date: Tue, 06 Aug 2013 19:27:15 +0400

On 06.08.2013 19:01, Daniel DeLeo wrote:
There is a hash on the node object you can use for per-run state info. It is not persisted to the server. To access it:

  node.run_state[:my_key] = "my value"

how can i link run_state attributes to mysql cookbook attributes ?

example:

node.run_state['mysql']['server_root_password'] = item['password']

then it is not persisted to the server ?

Who can access to node attributes on the server? In previous message i suggested that only node, which run their recipes.

Then why i must use node.run_state ?

is i am right ?


--
Best regards,

CVision Lab System Administrator
Vladmir Skubriev




Archive powered by MHonArc 2.6.16.

§