- From: "Julian C. Dunn" <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Re: Re: Accessing Node Object in Libraries
- Date: Fri, 16 May 2014 19:16:08 -0500
On Fri, May 16, 2014 at 2:26 PM, Rajiv Ranganath
<
>
wrote:
>
This behavior allows for some very interesting things we can do to Chef
>
from cookbooks.
>
>
https://github.com/lambda-linux-cookbooks/chef-solo-node-save/blob/master/libraries/node_ext.rb
>
>
Please be careful if you are trying this at home! :-)
Yup -- you can monkeypatch anything in Chef itself from a library.
Good: You can experiment with patches to core without having to modify
the client. (q.v. chef-metal, chef-elevate, others)
Bad: You can blow your foot clean off super easily. :)
- Julian
Archive powered by MHonArc 2.6.16.