drew khoury
2012-Sep-23 23:10 UTC
[Puppet Users] "Could not find class drew" error message when trying to load module
I posted a vagrant/puppet issue https://groups.google.com/forum/?fromgroups=#!topic/vagrant-up/36lz6yKGfDw (still not sure where the issue lies) so I thought I''d try my luck on the puppet group too. I am trying to load the most basic example of a module as per the puppet docs, using a default vagrant setup which obviously has pupet installed. My folder looks like this: vdrew -- manifests -- default.pp -- modules -- drew -- manifests -- init.php -- .vagrant -- Vagrantfile default.pp ------------------------------------------------------------------------------------------------------------------------------------------------------ notify {"base.pp":} include drew ------------------------------------------------------------------------------------------------------------------------------------------------------ init.pp ------------------------------------------------------------------------------------------------------------------------------------------------------ class drew { notify {"class=drew file=init.pp":} } ----------------------------------------------------------------- I''ve checked and all paths look valid and correct, can anyone give me insight as so why it might be failing or should I be providing more info? cd /tmp/vagrant-puppet/manifests && puppet apply --verbose --debug --modulepath ''/tmp/vagrant-puppet/modules-0'' /tmp/vagrant-puppet/manifests/default.pp" -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/LWyuKA-UV28J. 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.
R.I.Pienaar
2012-Sep-23 23:50 UTC
Re: [Puppet Users] "Could not find class drew" error message when trying to load module
----- Original Message -----> From: "drew khoury" <drew.khoury@gmail.com> > To: puppet-users@googlegroups.com > Sent: Monday, September 24, 2012 12:10:06 AM > Subject: [Puppet Users] "Could not find class drew" error message when trying to load module >> -- init.php.pp, not .php. -- 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.
drew khoury
2012-Sep-24 01:12 UTC
Re: [Puppet Users] "Could not find class drew" error message when trying to load module
of course, such a simple typo, thanks so much! Too many years of typing .php, will have to get my mind in the puppet world now :) On Monday, September 24, 2012 9:50:41 AM UTC+10, R.I. Pienaar wrote:> > > > ----- Original Message ----- > > From: "drew khoury" <drew....@gmail.com <javascript:>> > > To: puppet...@googlegroups.com <javascript:> > > Sent: Monday, September 24, 2012 12:10:06 AM > > Subject: [Puppet Users] "Could not find class drew" error message when > trying to load module > > > > > -- init.php > > .pp, not .php. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/6nFWpZVOdDsJ. 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.