Hello All, newbie question here....: So I have: /etc/puppet/modules/foo /etc/puppet/modules/foo/manifests/init.pp /etc/puppet/modules/foo/manifests/something.pp something.pp: class something{} init.pp: class foo { include foo::something {} } For some reason, I still get: "Error 400 on SERVER: Could not find class foo::something" What am I missing here? Thanks in advance. Henry -- 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.
Nigel Kersten
2010-Jun-11 15:50 UTC
Re: [Puppet Users] Namespace syntax within a module.....
On Fri, Jun 11, 2010 at 8:47 AM, CraftyTech <hmmedina@gmail.com> wrote:> Hello All, > > newbie question here....: > So I have: > /etc/puppet/modules/foo > /etc/puppet/modules/foo/manifests/init.pp > /etc/puppet/modules/foo/manifests/something.pp > > something.pp: class something{} > init.pp: class foo { > include foo::something > {} > } > > For some reason, I still get: "Error 400 on SERVER: Could not find > class foo::something" > > What am I missing here?something.pp should be: class foo::something { ... }> > Thanks in advance. > > Henry > > -- > 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. > >-- nigel -- 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.
Great, it works like a charm. Cheers, Henry On Jun 11, 11:50 am, Nigel Kersten <nig...@google.com> wrote:> On Fri, Jun 11, 2010 at 8:47 AM, CraftyTech <hmmed...@gmail.com> wrote: > > Hello All, > > > newbie question here....: > > So I have: > > /etc/puppet/modules/foo > > /etc/puppet/modules/foo/manifests/init.pp > > /etc/puppet/modules/foo/manifests/something.pp > > > something.pp: class something{} > > init.pp: class foo { > > include foo::something > > {} > > } > > > For some reason, I still get: "Error 400 on SERVER: Could not find > > class foo::something" > > > What am I missing here? > > something.pp should be: > > class foo::something { ... } > > > > > Thanks in advance. > > > Henry > > > -- > > 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 athttp://groups.google.com/group/puppet-users?hl=en. > > -- > nigel-- 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.