On Tue, Sep 18, 2012 at 2:25 PM, Aaron Grewell <[email protected]> wrote:
> Ah, OK. I'm not sure if I'm using default parameters in this way with > my defines. I'm not currently using parameterized classes so that's a > non-issue for me ATM. > > I am concerned about the break in semantic consistency however. As > we've seen on the users list numerous times one of the challenges of > being a new Puppet user is the difficulty of tracking the delta > between what's acceptable in a class, a resource, and a define. This > seems like it would widen that semantic gap further. Doesn't it close that gap up? Now, instead of passing 'undef' to a define meaning "use the default in the code", it means "use undef" - just like it does when you set defaults as you described. -- Daniel Pittman ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- 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.
