[Puppet Users] Re: [Puppet-dev] Re: When the lint accumulates...

2011-12-20 Thread david-dasz
it'd be very great if the various best-practice definitions in the puppet universe would match ;-) Have fun, David On Mon, 19 Dec 2011 22:11:53 +0100, Henrik Lindberg wrote: > I am also very interested in this to enable Geppetto to also provide the > same feedback. One difficulty I have faced i

Re: [Puppet-dev] Re: [Puppet Users] Re: Is it possible to get a list of all nodes in your manifests and all classes assigned to those nodes programatically in Ruby?

2011-11-22 Thread david-dasz
Hi Trevor, In the case of a default node, regexp nodes or an external node classifier, there *is* no well-defined "list of potential nodes" any more. Having said that, a solution might be to use the puppet compiler's internals to parse the site.pp and friends "manually" and access the AST resulti