[Puppet-users] Pupppet Ruby DSL

David Schmitt
Fri, 28 Jul 2006 00:01:34 -0000

On Wednesday 26 July 2006 23:13, Luke Kanies wrote:
> I still don''t know.  It feels like it''s basically as
restricted as
> the language, but certainly it''s a heckuva lot less code than
> Puppet''s parser is.
>
> Any comments?  Should I commit this to subversion, just to keep it
> around in case people want to mess with it?

The thing that bothers me, is: what''s the use-case? Most applications
seem to
be doable as well by using some .pp compiler. e.g. creating a configuration
from a tripwire database.

In contrast to the current way of slowly migrating useful defines ans custom
types into puppet proper, allowing ruby in the configuration will reduce the
need to push such things upstream.

And last but not least, it''s probably not much trouble to write a
grammar that
accepts .pp files and does something sensible with them (translating to xml,
creating statistics, querying a configuration of a host, cross references)
using ruby as DSL one can use the ruby tools for that, but only them. This
seems to balance out...


Regards, David

--
- hallo... wie gehts heute?
- *hust* gut *rotz* *keuch*
- gott sei dank kommunizieren wir ?ber ein septisches medium ;)
 -- Matthias Leeb, Uni f. angewandte Kunst, 2005-02-15