[chef] Re: Re: node.run_state


Chronological Thread 
  • From: "John Warren" < >
  • To: < >
  • Subject: [chef] Re: Re: node.run_state
  • Date: Wed, 10 Sep 2014 10:46:59 -0400
  • Importance: Normal

Thanks for the reply. The apparent lack of documentation of node.run_state is a bit troubling: the link below is the first Google hit when I search for "chef node run_state". Is there any documentation that discusses node.run_state in depth, the way node attributes are discussed, for instance here: https://docs.getchef.com/chef_overview_attributes.html ? You have me convinced that node.run_state is kosher, but the people who review my code and have already -1'd it (citing the reference below) may not be as easily swayed. Having official documentation that refutes the erroneous heading in the referenced official release notes would be most helpful in making my case that my code (at least as far as the use of node.run_state goes) is up to spec.

Thanks,

John

-----Original Message----- From: Julian C. Dunn
Sent: Wednesday, September 10, 2014 9:54 AM
To: 

Subject: [chef] Re: node.run_state

I think the heading is just wrong. node.run_state is still used (and
we teach it in Chef Intermediate :-) )

- Julian

On Wed, Sep 10, 2014 at 9:41 AM, John Warren 
< >
 wrote:
The following section in the documentation for Chef client 11 appears to be
a source of some confusion:
https://docs.getchef.com/breaking_changes_chef_11.html#node-run-state-replaced
The heading of the section would seem to indicate that node.run_state should
not be used at all anymore, while the section text seems to reference only
node.run_state[:seen_recipes] as no longer being valid.  Can I get some
clarification on what the status of node.run_state is in terms of having
been “replaced” as a whole or in part?

Thanks,

John



--
[ Julian C. Dunn 
< >
          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ;]
gopher://sdf.org/1/users/keymaker/           * compliant!    ;]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]



Archive powered by MHonArc 2.6.16.

§