Re: [Puppet Users] How can I dynamically realize this?

Nigel Kersten
Tue, 15 Mar 2011 00:12:03 -0000

On Thu, Mar 10, 2011 at 9:27 PM, Brian Gallew <geek@gallew.org> wrote:

> All that said, evil tricks lurk in the land of dragons.  Don''t
bother asking
> for help if you go down this particular path, because the Puppetlabs people
> will only tell you that "you''re doing it wrong" and no
one else will be
> willing to admit that you''ve pervert Puppet in this manner.

I consider that a pretty unfair characterization of how "Puppet Labs
people" respond to questions.

The Ruby DSL is a good place to look to implement this, another option
might be to make use of the realize function instead, and build up
arrays of resource references, or even copy/modify the realize
function to make the expression of this in the Puppet DSL simpler and
more obvious.