That would undoubtedly have been a neater solution.  I may well switch to
using that.  Thanks!

On Fri, Apr 15, 2011 at 1:48 AM, Felix Frank <
[email protected]> wrote:

> On 04/13/2011 04:24 AM, Ben Hughes wrote:
> > On Tue, Apr 12, 2011 at 07:20:24PM -0700, Brian Gallew wrote:
> >
> >> I ended up doing something even uglier (and probably stupider).  I
> created
> >> two sub-classes of jumpstart: jumpstart::mirrorroot and
> jumpstart::zfsroot,
> >> and each one just sets a variable ($target) and the uses the template.
>  It's
> >> incredibly stupid, but it works.
> >
> > That is neater than trying to pick your way through the objects. Really.
>
> Indeed, but my preferred canonical approach is to wrap templates in
> defines. No need for subclassing here, just pass different parameters to
> your wrapping define.
>
> Cheers,
> Felix
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to