puppetlabs/puppetlabs-training-bootstrap — pull request #236 by binford2k (2014-03-13 19:02:50+00:00)
Title: external node script should refer to the console

This corrects the script calling its own hostname. It uses awk to grab
the server setting from console.conf, so it should exactly match the
behaviour of the console classifier.

It also throws a clean error when called improperly.