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. :) -- Every generation laughs at the old fashions, but follows religiously the new. -- Henry David Thoreau --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
