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-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to