Project

General

Custom queries

Profile

Actions

Bug #122

closed

External nodes script shouldn't output anything if node not found

Added by Frank Sweetser over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
External Nodes
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

#1

Updated by Ohad Levy over 15 years ago

  • Status changed from New to Assigned
  • Target version set to 0.1-3
#3

Updated by Frank Sweetser over 15 years ago

  • Status changed from Assigned to Ready For Testing
  • % Done changed from 0 to 100
#4

Updated by Ohad Levy over 15 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF