Issue #16698 has been updated by Andrew  Parker.

Another update on this.

The previous commit that I called out (d936ddf) is where the enc started being 
overridden by the stored node from the storedconfigs. However, the parent of 
that commit showed another problem, which is that the storedconfigs had been 
broken for a while. That commit simply made a change that caused them to turn 
back on.

After bisecting to find out where the storedconfigs stopped being configured 
correctly, I discovered 
<https://github.com/puppetlabs/puppet/commit/cb3ce74744f842b0ec9fc69c39caa35a413f8e11>,
 which is some work around option parsing.

Commit `cb3` caused stored configs to stop turning on, however at that point 
and before the enc still worked. Commit `d93` caused stored configs to start 
turning on again, but after that the enc no longer worked. So something in 
those changes modified the way that storedconfigs are being initialized.
----------------------------------------
Bug #16698: external node classifier script is not being called when 
storedconfigs is on
https://projects.puppetlabs.com/issues/16698#change-72719

Author: Chris Mague
Status: Investigating
Priority: Normal
Assignee: Andrew  Parker
Category: 
Target version: 3.0.1
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