- From: Miquel Torres <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Announcing Little Chef
- Date: Fri, 29 Oct 2010 12:28:54 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=QAMv/mvZxWVJTPeHt3r57ygo1H3UrLqyj09pkn6utO/cBFlCcZhO8BKWZ+abeDLkTn E5ihj3UQWNhXfZ1If1LVHn7VW5mz0NyM3LqZkeQfA472jhRQvn8y6v74Rl0oxSQY6nKh lUCXumdprmaR1DOWhPXJRCyBMnnBX8I2htTNY=
>
It's been on the roadmap for a while, and all it really needs is
>
someone who wants to carry it over the finish line. Basically,
>
everything in Chef has a JSON representation - so you should be able
>
to translate from a Python based recipe DSL to resources in Chef, and
>
pass them back and forth - essentially passing the Run Context between
>
the Python process and the Ruby one. It means you wouldn't have to
>
duplicate the work that already exists in the resources and providers,
>
and you would be able to write your own recipes, libraries, (and
>
potentially resources and providers as well) in the language of your
>
choice.
>
>
You can see a demo of doing this from Perl:
>
>
http://search.cpan.org/~holoway/Chef-0.01/lib/Chef.pm
>
That is very cool.
I have too many things on my plate right now, but it is good to know
that in principle it can be done... for when the time is right.
Miquel
2010/10/28 Adam Jacob
<
>:
>
On Thu, Oct 28, 2010 at 1:01 AM, Miquel Torres
>
<
>
>
wrote:
>
> Also, if many of you find it useful, we could set up a wiki page for
>
> Chef newbies to get started the Little Chef way. I think some people
>
> would find that easier.
>
>
Feel free.
>
>
> Another thing. I read some comments on the possibility of a Python
>
> bridge for cookbooks. I can not even begin to express how cool that
>
> would be. Little Chef being in the Python Package Index could already
>
> bring Chef new exposure to the Python devops world. If you add to that
>
> Python cookbooks, well, Chef would have the potential of becoming
>
> *the* Configuration Management system, across language and culture
>
> divides. I would certainly contribute lots of Python cookbook
>
> "translations"!
>
>
It's been on the roadmap for a while, and all it really needs is
>
someone who wants to carry it over the finish line. Basically,
>
everything in Chef has a JSON representation - so you should be able
>
to translate from a Python based recipe DSL to resources in Chef, and
>
pass them back and forth - essentially passing the Run Context between
>
the Python process and the Ruby one. It means you wouldn't have to
>
duplicate the work that already exists in the resources and providers,
>
and you would be able to write your own recipes, libraries, (and
>
potentially resources and providers as well) in the language of your
>
choice.
>
>
You can see a demo of doing this from Perl:
>
>
http://search.cpan.org/~holoway/Chef-0.01/lib/Chef.pm
>
>
Let me know if you want more insight.
>
>
Adam
>
>
--
>
Opscode, Inc.
>
Adam Jacob, CTO
>
T: (206) 508-7449 E:
>
>
- [chef] Re: Re: Re: Re: Announcing Little Chef, (continued)
Archive powered by MHonArc 2.6.16.