- From: Noah Kantrowitz <
>
- To:
- Subject: [chef] Re: Object-Oriented Chef
- Date: Wed, 16 Sep 2015 15:47:08 -0700
On Sep 16, 2015, at 3:44 PM, Jos Backus
<
>
wrote:
>
Hi,
>
>
It would be nice if there was better support for the native Ruby Chef
>
classes/methods aside from the Chef::Recipe DSL with its fixed structure of
>
cookbooks/recipes, etc. It seems to me that with access to the run_context
>
class and the various resources, one could implement multiple
>
run/convergence queues easily enough (by instantiating different
>
run_contexts and operating on them), for example, and it would also open up
>
the ability to use traditional classes/modules for adding structure and
>
reusability, rather than the limited Chef::Recipe API. I understand that
>
the current DSL is concise, convenient for beginners and mimics what Puppet
>
uses, but it lacks structural power.
This is exactly what my Poise (
https://github.com/poise/poise) library and
John's Resource library do. This rabbit hole runs deep, happy to answer
questions for you, though IRC (#chef on Freenode) might be a better medium.
--Noah
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.