Hello, I have succesfully installed puppet on ubunu, one master and one client. I am going through the documentation and I am having a hard time getting this example to work http://docs.puppetlabs.com/learning/manifests.html $ puppet apply my_test_manifest.pp I get this error root@puppet:/etc/puppet/manifests# pwd /etc/puppet/manifests root@puppet:/etc/puppet/manifests# puppet apply my_test_manifest.pp Could not parse for environment production: Could not find file /etc/ puppet/manifests/apply.pp root@puppet:/etc/puppet/manifests# locate apply.pp root@puppet:/etc/puppet/manifests# I am supposed to generate apply.pp somehow or am I actually missing a module or something else i dont know about? Thanks PS.: So far I am impressed with puppet''s abilities and look forward to implementing it :) -- 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 looks like it is failing b/c you are running a version older than 2.6.x (probably 0.25.5) for 0.25.5, the executable is a little different, try running: $ puppet my_test_manifest.pp there are significant syntax changes between 0.25.5 and 2.6.x, I would not recommend starting with the older version. -Dan On Sun, Oct 2, 2011 at 12:26 PM, John Bower <olympus.stance@gmail.com>wrote:> Hello, > > I have succesfully installed puppet on ubunu, one master and one > client. > > I am going through the documentation and I am having a hard time > getting this example to work > http://docs.puppetlabs.com/learning/manifests.html > > $ puppet apply my_test_manifest.pp > > I get this error > > root@puppet:/etc/puppet/manifests# pwd > /etc/puppet/manifests > root@puppet:/etc/puppet/manifests# puppet apply my_test_manifest.pp > Could not parse for environment production: Could not find file /etc/ > puppet/manifests/apply.pp > root@puppet:/etc/puppet/manifests# locate apply.pp > root@puppet:/etc/puppet/manifests# > > > I am supposed to generate apply.pp somehow or am I actually missing a > module or something else i dont know about? > > Thanks > > PS.: So far I am impressed with puppet''s abilities and look forward to > implementing it :) > > > > -- > 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. > >-- 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.
Hello Dan, It seems that you are correct, I couldnt find any particular command to find out the version number, but looking at the changelog which is located in the /usr/share/puppet/... directory it looks like I am running 0.25.4 I will be upgrading. Thanks On Sun, Oct 2, 2011 at 4:22 PM, Dan Bode <dan@puppetlabs.com> wrote:> It looks like it is failing b/c you are running a version older than 2.6.x > (probably 0.25.5) > > for 0.25.5, the executable is a little different, try running: > > $ puppet my_test_manifest.pp > > there are significant syntax changes between 0.25.5 and 2.6.x, I would not > recommend starting with the older version. > > -Dan > > > > On Sun, Oct 2, 2011 at 12:26 PM, John Bower <olympus.stance@gmail.com>wrote: > >> Hello, >> >> I have succesfully installed puppet on ubunu, one master and one >> client. >> >> I am going through the documentation and I am having a hard time >> getting this example to work >> http://docs.puppetlabs.com/learning/manifests.html >> >> $ puppet apply my_test_manifest.pp >> >> I get this error >> >> root@puppet:/etc/puppet/manifests# pwd >> /etc/puppet/manifests >> root@puppet:/etc/puppet/manifests# puppet apply my_test_manifest.pp >> Could not parse for environment production: Could not find file /etc/ >> puppet/manifests/apply.pp >> root@puppet:/etc/puppet/manifests# locate apply.pp >> root@puppet:/etc/puppet/manifests# >> >> >> I am supposed to generate apply.pp somehow or am I actually missing a >> module or something else i dont know about? >> >> Thanks >> >> PS.: So far I am impressed with puppet''s abilities and look forward to >> implementing it :) >> >> >> >> -- >> 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. >> >> > -- > 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. >-- 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.
you should see it via gem or your package manager, depending on how it was installed. On Sun, Oct 2, 2011 at 3:29 PM, olympus stance <olympus.stance@gmail.com>wrote:> Hello Dan, > > It seems that you are correct, I couldnt find any particular command to > find out the version number, but looking at the changelog which is located > in the /usr/share/puppet/... directory it looks like I am running 0.25.4 > > I will be upgrading. > > Thanks > > > > On Sun, Oct 2, 2011 at 4:22 PM, Dan Bode <dan@puppetlabs.com> wrote: > >> It looks like it is failing b/c you are running a version older than 2.6.x >> (probably 0.25.5) >> >> for 0.25.5, the executable is a little different, try running: >> >> $ puppet my_test_manifest.pp >> >> there are significant syntax changes between 0.25.5 and 2.6.x, I would not >> recommend starting with the older version. >> >> -Dan >> >> >> >> On Sun, Oct 2, 2011 at 12:26 PM, John Bower <olympus.stance@gmail.com>wrote: >> >>> Hello, >>> >>> I have succesfully installed puppet on ubunu, one master and one >>> client. >>> >>> I am going through the documentation and I am having a hard time >>> getting this example to work >>> http://docs.puppetlabs.com/learning/manifests.html >>> >>> $ puppet apply my_test_manifest.pp >>> >>> I get this error >>> >>> root@puppet:/etc/puppet/manifests# pwd >>> /etc/puppet/manifests >>> root@puppet:/etc/puppet/manifests# puppet apply my_test_manifest.pp >>> Could not parse for environment production: Could not find file /etc/ >>> puppet/manifests/apply.pp >>> root@puppet:/etc/puppet/manifests# locate apply.pp >>> root@puppet:/etc/puppet/manifests# >>> >>> >>> I am supposed to generate apply.pp somehow or am I actually missing a >>> module or something else i dont know about? >>> >>> Thanks >>> >>> PS.: So far I am impressed with puppet''s abilities and look forward to >>> implementing it :) >>> >>> >>> >>> -- >>> 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. >>> >>> >> -- >> 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. >> > > -- > 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. >-- 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.
Very good tip about this gem thing, i overheard about it a long time ago, i''m using ubuntu and did an apt-get. Will look into gem. On Sun, Oct 2, 2011 at 6:38 PM, Scott Smith <scott@ohlol.net> wrote:> you should see it via gem or your package manager, depending on how it was > installed. > > > On Sun, Oct 2, 2011 at 3:29 PM, olympus stance <olympus.stance@gmail.com>wrote: > >> Hello Dan, >> >> It seems that you are correct, I couldnt find any particular command to >> find out the version number, but looking at the changelog which is located >> in the /usr/share/puppet/... directory it looks like I am running 0.25.4 >> >> I will be upgrading. >> >> Thanks >> >> >> >> On Sun, Oct 2, 2011 at 4:22 PM, Dan Bode <dan@puppetlabs.com> wrote: >> >>> It looks like it is failing b/c you are running a version older than >>> 2.6.x (probably 0.25.5) >>> >>> for 0.25.5, the executable is a little different, try running: >>> >>> $ puppet my_test_manifest.pp >>> >>> there are significant syntax changes between 0.25.5 and 2.6.x, I would >>> not recommend starting with the older version. >>> >>> -Dan >>> >>> >>> >>> On Sun, Oct 2, 2011 at 12:26 PM, John Bower <olympus.stance@gmail.com>wrote: >>> >>>> Hello, >>>> >>>> I have succesfully installed puppet on ubunu, one master and one >>>> client. >>>> >>>> I am going through the documentation and I am having a hard time >>>> getting this example to work >>>> http://docs.puppetlabs.com/learning/manifests.html >>>> >>>> $ puppet apply my_test_manifest.pp >>>> >>>> I get this error >>>> >>>> root@puppet:/etc/puppet/manifests# pwd >>>> /etc/puppet/manifests >>>> root@puppet:/etc/puppet/manifests# puppet apply my_test_manifest.pp >>>> Could not parse for environment production: Could not find file /etc/ >>>> puppet/manifests/apply.pp >>>> root@puppet:/etc/puppet/manifests# locate apply.pp >>>> root@puppet:/etc/puppet/manifests# >>>> >>>> >>>> I am supposed to generate apply.pp somehow or am I actually missing a >>>> module or something else i dont know about? >>>> >>>> Thanks >>>> >>>> PS.: So far I am impressed with puppet''s abilities and look forward to >>>> implementing it :) >>>> >>>> >>>> >>>> -- >>>> 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. >>>> >>>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > > -- > 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. >-- 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.
Reasonably Related Threads
- Unable to import a manifest file from a different directory to the one where site.pp is located using environments
- puppet-hiera used with Parameterised class
- /etc/init.d/mysql =fail mysqld=success
- puppet client looking for server puppet
- nodes.pp in different environments