Yes, the code outputs nothing and calls sys.exit(1) if the host cannot be
found in our database.  Running as pe-puppet, which the stock ENC runs
as from what I can tell, it runs fine and $? is 0.

[ 5 minutes later ]

Oh jeez.

I was misreading the red "Log" info for it, assuming it was the same
old "could not find node" from earlier when I had a problem that I
had eventually fixed.

It is now saying "could not find class bedford", which I fully expect at 
this
stage.

Thank you both for looking into this with me, and sorry to waste anyone's
time.

IDEA: Allow for a special YAML document to be spit out by custom ENCs
when error conditions in the ENC are hit.  It would contain information that
can be shown in the console/reports ?

-- 
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/-/mqNSCdElZGAJ.
To post to this group, send email to puppet-users@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