[chef] Re: LWRP being defined inside libraries directory?


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To: " " < >
  • Subject: [chef] Re: LWRP being defined inside libraries directory?
  • Date: Tue, 4 Nov 2014 10:47:00 -0500

On Tue, Nov 4, 2014 at 9:38 AM, aL. 
< >
 wrote:
>
> https://github.com/opscode-cookbooks/database/tree/master/libraries
>
> Is there a new pattern i'm missing?

I wouldn't say it's "new"; the code in there dates back to 2011.

But recently, we've done some more work to explore how heavyweight
resources -- that is, those that subclass Chef::Resource and
Chef::Provider directly -- could make for much more reusable
cookbooks. You can see examples of this in the 'httpd' and 'mysql'
cookbooks.

In other words, everything old is new again. [1]

- Julian

[1] https://www.youtube.com/watch?v=oAjSWZQNXLU
-- 
[ 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.

§