This is Puppet 2.7.3, FWIW. As far as I can see, this is really broken somehow.
This ENC below gives the same 'Could not find node' error even when spitting canned information back: #!/bin/sh echo<<END --- classes: - foo END exit 0 puppet master --no-daemonize --verbose --debug reports: debug: Executing '/etc/puppet/hostdb-ENC.sh rcf-cm-test.our.org' debug: Empty response for rcf-cm-test.our.org from exec exec terminus err: Could not find node 'rcf-cm-test.our.org'; cannot compile -- 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/-/b6SSBdavgNEJ. 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.