Hi Nick (long time :) )

On Tue, Mar 1, 2011 at 3:14 AM, Nick Moffitt <n...@zork.net> wrote:

> I mean to write a lint checker for my manifests, but I am not a ruby
> developer to any degree of proficiency.  What I think I would like is
> some kind of serialization of the AST for a given .pp file, which I can
> then import into my own Python code and analyze for undesirable
> patterns.
>

It is possible to parse a given file and get an ASTArray back, is that
sufficient? I am pretty sure you are going to have to get your hands into
the Ruby code to really figure this out.

There kinds of questions make more sense to be posted to puppet-dev


>
> Is there any way to get a dump or serialization or marshalling of the
> parse tree for a given .pp file?  Or is there already some
> easily-modifiable lint checker elsewhere?
>
> --
> A: No.
> Q: Should I put my reply above quoted text?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to