[chef] Re: can we force a "node save" in a "why run" mode


Chronological Thread 
  • From: Ranjib Dey < >
  • To: " " < >
  • Subject: [chef] Re: can we force a "node save" in a "why run" mode
  • Date: Thu, 17 Sep 2015 14:42:44 -0700

theres nothing stopping you from invoking a node.save. Add a handler that hooks at run_finished and then inside it check if its why run mode and invoke node.save.
but as brian said, this is a very very bad idea,
 whole point of why run is to not change anything ...just to estimate what will be updated

On Thu, Sep 17, 2015 at 2:09 PM, Bhavna Agrawal < " target="_blank"> > wrote:
Currently we don't get a node save if we run in WhyRun mode. I was wondering if there was a way to force a "node save" in this mode?
Thanks.
Bhavna





Archive powered by MHonArc 2.6.16.

§