I''m getting this frustrating error message and can''t figure out why. Puppet claims I''m missing a template file: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find template ''nagios/nrpe.cfg/MASTER.erb'' at /usr/ local/etc/puppet/modules/nrpe/manifests/init.pp:22 on node auth001.mid.no warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run I do know, however, that the template is there: # ll /usr/local/etc/puppet/modules/nrpe/manifests/init.pp -rw-rw-r-- 1 root wheel 1599 30 mar 14:34 /usr/local/etc/puppet/ modules/nrpe/manifests/init.pp # ll /usr/local/etc/puppet/templates/nagios/nrpe.cfg/MASTER.erb -rw-rw-r-- 1 root wheel 7225 26 mar 16:06 templates/nagios/nrpe.cfg/ MASTER.erb And the syntax is also correct: # erb -x -T ''-'' /usr/local/etc/puppet/modules/nrpe/manifests/init.pp | ruby -c Syntax OK # erb -x -T ''-'' templates/nagios/nrpe.cfg/MASTER.erb | ruby -c Syntax OK So what is it then that is wrong? -- 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.
kit
2010-Jun-09 08:59 UTC
[Puppet Users] Re: Could not retrieve catalog from remote server
Nevermind, I found out that I had accidentially overwritten the puppet.conf... Luckily I had a backup and everything is up and running again :) On 9 Jun, 09:32, kit <efossv...@gmail.com> wrote:> I''m getting this frustrating error message and can''t figure out why. > Puppet claims I''m missing a template file: > > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not find template ''nagios/nrpe.cfg/MASTER.erb'' at /usr/ > local/etc/puppet/modules/nrpe/manifests/init.pp:22 on node > auth001.mid.no > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > I do know, however, that the template is there: > # ll /usr/local/etc/puppet/modules/nrpe/manifests/init.pp > -rw-rw-r-- 1 root wheel 1599 30 mar 14:34 /usr/local/etc/puppet/ > modules/nrpe/manifests/init.pp > # ll /usr/local/etc/puppet/templates/nagios/nrpe.cfg/MASTER.erb > -rw-rw-r-- 1 root wheel 7225 26 mar 16:06 templates/nagios/nrpe.cfg/ > MASTER.erb > > And the syntax is also correct: > # erb -x -T ''-'' /usr/local/etc/puppet/modules/nrpe/manifests/init.pp | > ruby -c > Syntax OK > # erb -x -T ''-'' templates/nagios/nrpe.cfg/MASTER.erb | ruby -c > Syntax OK > > So what is it then that is wrong?-- 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.