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.

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)

cheers pete

--~--~---------~--~----~------------~-------~--~----~
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