On Mon, May 3, 2010 at 9:31 PM, James Turnbull <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 4/05/10 10:15 AM, Douglas Garstang wrote: >> I find myself using definitions more and more, and classes less even >> when a class will do. >> >> One of the reasons is that you can pass arguments to definitions, >> whereas with a class you have to set a global variable. Are there any >> plans to allow classes in puppet to take a constructor, or something >> like it, so that arguments can get passed to the class? >> > > This feature is in the next feature release, Rowlf.
Sweet. -- 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.
