Actions
Bug #122
closedExternal nodes script shouldn't output anything if node not found
Description
If I'm reading http://reductivelabs.com/trac/puppet/wiki/ExternalNodes correctly, an external nodes script should produce no output in the case where a node is not found. This patch modifies the external node script to only output the response body if the return HTTP code is 200, and output a brief message to stderr otherwise. It also updates routes.rb to not choke on the puppetmaster node search (host.domain, host, default).
Files
Updated by Ohad Levy over 15 years ago
- Status changed from New to Assigned
- Target version set to 0.1-3
Updated by Frank Sweetser over 15 years ago
- Status changed from Assigned to Ready For Testing
- % Done changed from 0 to 100
Actions