Ohhhh I see :) Thanks Felix that makes a lot of sense.

I somehow got it in my head that people were managing to replace the
include keyword by passing parameters to classes, rather than just
using the parametrised class syntax, something like:

class["puppetmaster"] { $common, $puppet, $ldap_auth, ... }

and I was getting very confused at how you could do this :)

On Jan 7, 10:55 am, Felix Frank <felix.fr...@alumni.tu-berlin.de>
wrote:
> > class puppetmaster {
> >   include common
> >   include puppet
> >   include ldap_auth
> >   include iptables::disabled
> >   include httpd::ssl
> >   include ruby-enterprise::passenger
> > }
>
> Hi Luke,
>
> I haven't dipped into 2.6 yet, but afaik, this would simply become
>
> class puppetmaster {
>   class { [
>      "puppet",
>      "ldap_auth",
>      "iptables::disabled",
>      "httpd::ssl",
>      "ruby-enterprise::passenger",
>    ]:
>
> }
>
> The initial "dumb" translation shouldn't be hard.
>
> Cheers,
> Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to