On Thu, Apr 21, 2011 at 10:56 AM, Jeff Falgout <jtfalg...@gmail.com> wrote:
> Greetings -
> I'm trying to get multiple includes to work within a class within a module
> and it looks as if the just the first "include" is included ...
> client:  Scientific Linux 6 with puppet-2.6.6-1.el6.noarch  (from
> EPEL-testing)
> server: Scientific Linux 6 with puppet-server-2.6.6-1.el6.noarch (from
> EPEL-testing)
>
> The class:
> from rpm_gpg/manifests/init.pp
> class rpm_gpg {
>         include
>                 "rpm_gpg::keys::spacewalk2010",
>                 "rpm_gpg::keys::jpackage"
> }


I can't reproduce this one no matter how I jiggle the classes and include lines.


root@devlucid:/home/nigel/src/puppet# puppet --version
2.6.8

root@devlucid:/home/nigel/src/puppet# cat /tmp/test.pp
class rpm_gpg::keys::spacewalk2010 {
  notice("spacewalk class")
}

class rpm_gpg::keys::jpackage {
  notice("jpackage class")
}

class rpm_gpg {
        include
                "rpm_gpg::keys::spacewalk2010",
                "rpm_gpg::keys::jpackage"
}

include rpm_gpg

root@devlucid:/home/nigel/src/puppet# puppet apply -v /tmp/test.pp
notice: Scope(Class[Rpm_gpg::Keys::Spacewalk2010]): spacewalk class
notice: Scope(Class[Rpm_gpg::Keys::Jpackage]): jpackage class
info: Applying configuration version '1303409507'
notice: Finished catalog run in 0.02 seconds

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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