I''m playing with puppet 2.7.1 on centos 5.6; as I read the docs at http://docs.puppetlabs.com/learning/modules1.html, the command: puppet apply --verbose --noop -e "include global::admins" should look for a manifest in /etc/puppet/modules/global/manifests/ admins.pp Instead, I get: Could not find class global::admins for admin00.intranet.peak.org at line 1 on node admin00.intranet.peak.org When I strace puppet, I find it''s trying to stat "global::admins" as a filename, not parsing it into the module structure?!? What am I missing? Thanks... -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
It''s the first line in admins.pp ''class global::admins {'' ? On Aug 12, 2011 9:44 AM, "Alan Batie" <alan@batie.org> wrote:> I''m playing with puppet 2.7.1 on centos 5.6; as I read the docs at > http://docs.puppetlabs.com/learning/modules1.html, the command: > > puppet apply --verbose --noop -e "include global::admins" > > should look for a manifest in /etc/puppet/modules/global/manifests/ > admins.pp > > Instead, I get: > > Could not find class global::admins for admin00.intranet.peak.org at > line 1 on node admin00.intranet.peak.org > > When I strace puppet, I find it''s trying to stat "global::admins" as a > filename, not parsing it into the module structure?!? > > What am I missing? Thanks... > > -- > 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 topuppet-users+unsubscribe@googlegroups.com.> For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.>-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Aug 11, 2011, at 5:04 PM, Alan Batie wrote:> I''m playing with puppet 2.7.1 on centos 5.6; as I read the docs at > http://docs.puppetlabs.com/learning/modules1.html, the command: > > puppet apply --verbose --noop -e "include global::admins" > > should look for a manifest in /etc/puppet/modules/global/manifests/ > admins.pp > > Instead, I get: > > Could not find class global::admins for admin00.intranet.peak.org at > line 1 on node admin00.intranet.peak.org > > When I strace puppet, I find it''s trying to stat "global::admins" as a > filename, not parsing it into the module structure?!? > > What am I missing? Thanks...---- probably not useful to you but I had the same issue with 2.7.1 If I ran it again, it apparently cached that class and the error was with the next class... and so on. Eventually, I could keep running puppet agent (i.e puppet apply) and eventually it would get a complete catalog and run. I ended up going back to 2.6.9 Craig -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hm, weird. Been running a small cluster on 2.7.1 for a month or so and haven''t experienced this myself. On Aug 12, 2011 10:03 AM, "Craig White" <craig.white@ttiltd.com> wrote:> > On Aug 11, 2011, at 5:04 PM, Alan Batie wrote: > >> I''m playing with puppet 2.7.1 on centos 5.6; as I read the docs at >> http://docs.puppetlabs.com/learning/modules1.html, the command: >> >> puppet apply --verbose --noop -e "include global::admins" >> >> should look for a manifest in /etc/puppet/modules/global/manifests/ >> admins.pp >> >> Instead, I get: >> >> Could not find class global::admins for admin00.intranet.peak.org at >> line 1 on node admin00.intranet.peak.org >> >> When I strace puppet, I find it''s trying to stat "global::admins" as a >> filename, not parsing it into the module structure?!? >> >> What am I missing? Thanks... > ---- > probably not useful to you but I had the same issue with 2.7.1 > > If I ran it again, it apparently cached that class and the error was withthe next class... and so on.> > Eventually, I could keep running puppet agent (i.e puppet apply) andeventually it would get a complete catalog and run.> > I ended up going back to 2.6.9 > > Craig > > -- > 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 topuppet-users+unsubscribe@googlegroups.com.> For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.>-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.