Issue #16698 has been updated by eric sorenson.

Augh, I tried several ways to reproduce this and couldn't: I got execution of 
the node script each time, and introducing deliberate errors into the script 
resulted in the expected behaviour.

Will do a fresh gem install next.
----------------------------------------
Bug #16698: external node classifier script is not being called
https://projects.puppetlabs.com/issues/16698#change-72216

Author: Chris Mague
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 3.0.0
Keywords: 
Branch: 


    $ ruby -v
    ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

    $ puppet --version
    3.0.0 (installed via gem)

#puppet.conf

    [master]
    node_terminus  = exec
    external_nodes = /usr/share/puppet-dashboard/bin/external_node
    
in puppet-3.0.0/lib/puppet/indirector.rb added the following lines:

    38 Puppet.warning "DTM: making sure in indirector #{ 
Puppet[:external_nodes] } is called"
    39 Puppet.warning "DTM: making sure in indirector #{ Puppet[:node_terminus] 
} trying termnius is called"
    
These show up in the puppet logs that the values are correctly established

    Oct  2 18:50:19 puppet puppet-master[16541]: DTM: making sure in indirector 
/usr/share/puppet-dashboard/bin/external_node is called
    Oct  2 18:50:19 puppet puppet-master[16541]: DTM: making sure in indirector 
exec trying termnius is called
    
in puppet-3.0.0/lib/puppet/indirector/node/exec.rb

   12     Puppet.warning "DTM: making sure #{ Puppet[:external_nodes] } is 
called"

That message is not showing up in the logs and the external node classifier 
script is not getting called.



-- 
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://projects.puppetlabs.com/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