# File lib/puppet/indirector/node/exec.rb, line 9 def command command = Puppet[:external_nodes] raise ArgumentError, "You must set the 'external_nodes' parameter to use the external node terminus" unless command != "none" command.split end
Look for external node definitions.
# File lib/puppet/indirector/node/exec.rb, line 16 def find(request) output = super or return nil # Translate the output to ruby. result = translate(request.key, output) # Set the requested environment if it wasn't overridden # If we don't do this it gets set to the local default result[:environment] ||= request.environment create_node(request.key, result) end