[chef] Re: node.save?


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: node.save?
  • Date: Fri, 9 Sep 2011 16:46:15 +0530

its saved at the end of the run automatically. If you are setting an attribute in the recipe and trying to reuse it in the same recipe afterwards u make an explicit node.save call.

On Fri, Sep 9, 2011 at 4:16 PM, Denis Barishev < "> > wrote:
Hey all,

How do you think why we meet the node.save command in many recipes? For example, I've seen it in the mysql recipe.
As far as I understand any attributes that are set in recipes are automatically persisted.
So what for is the 'node.save' command then?

Thanks for any ideas

Denis





Archive powered by MHonArc 2.6.16.

§