On Thu, 2009-07-02 at 17:16 -0500, Luke Kanies wrote:
> On Jun 30, 2009, at 3:15 AM, Peter Meier wrote:
> 
> >
> > Hi
> >
> >> I am starting work on a set of cobbler types for puppet and had a few
> >> questions,
> >
> > cool, hope you'll release them?!
> >
> >> When I declare a new system in cobbler I can define multiple nics,
> >> each nic can have many parameters, is there a clean way of doing this
> >> in puppet, ie. if1 => eth0, mac1 => ..., if2 => eth2, mac2 => ...
> >> or should I just make another type called cobbler_nic which take the
> >> host system as a param and attaches it that way?
> >
> > hmm first I thought that maybe a parameter with an array could be a
> > solution. unfortunately this wouldn't be yet that easy handable.  
> > Maybe a
> > seperate type (which would autorequire the system type) would be fine.
> 
> I think a separate type would be best.  I'd really like namespaces in  
> native types. :/
> 
> >
> > Or we would finally adapt hashmaps to be supported by the DSL, which
> > would then make then parameter solution really easy. (There have been
> > recently a discussion about that, see thread
> > http://markmail.org/message/fykm3nj2eqqt7gfx)
> 
> 
> You depend on that for your work, you're going to be waiting a while,  
> I think, unless Bryce finds himself just amazingly bored. :)

That's on my TODO list (Peter can you file a ticket for this feature?),
but IMHO we should focus on 0.25.0, so up to now I preferred spending my
time on 0.25 bugs (OK, I spent some time on #2033 too).
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to