What should an external node script output when it can't find the
node? The docs here:

http://docs.puppetlabs.com/guides/external_nodes.html

are incomplete and don't specify. it's my understanding, and previous
experience (somehow) that when the enc script can't find the node,
that puppet should look to the nodes.pp file. However, my client
(which is in nodes.pp, but not found by the enc script) is displaying:

Dec 28 21:22:08 dev-ge-admin-01 puppet-agent[32263]: Could not
retrieve catalog from remote server: Error 400 on SERVER: Failed when
searching for node dev-ge-admin-01.c4-e.com: Could not load external
node results for dev-ge-admin-01.c4-e.com: undefined method `inject'
for nil:NilClass

I've tried having the enc script output nothing, and '---' with an
exit code of 0. Same result on client.

Doug

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to