Issue #2361 has been reported by Dan Bode.

----------------------------------------
Bug #2361: compile errors suppressed with external nodes
http://projects.reductivelabs.com/issues/2361

Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


Manifest Compile/Parse errors are not being displayed on the server or agent 
when external nodes are set.

with 

puppet.conf:
external_nodes = /etc/puppet/conf/puppet_node_classifier.rb
node_terminus = exec

on debug, I get the following output

debug: Executing '/etc/puppet/conf/puppet_node_classifier.rb HOST.com'
err: Could not call: Could not find node 'HOST.com'; cannot compile

if I disable the external nodes, then I actually get the compile errors.

err: Could not parse for environment production: Syntax error at ','; expected 
'}' at /etc/puppet/manifests/function_test.pp:27
err: Could not parse for environment production: Syntax error at ','; expected 
'}' at /etc/puppet/manifests/function_test.pp:27

I should always get the compile errors.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to