Issue #16698 has been updated by Andrew Parker.
Here is what happened: * In order to fix #3910 and make the master, and therefore the ENC, always be authoritative the caching of the node needed to be removed * Commit <https://github.com/puppetlabs/puppet/commit/5a79d9abd96e73ff166527cdee69a30da8ab0f87> removed the master's hard coding of the YAML cache * Removing the YAML cache caused the long-dormant code at <https://github.com/puppetlabs/puppet/blob/5a52dd679caefc7f8648dfb4f06f6f25fd69ae9d/lib/puppet/defaults.rb#L1468> to take control since it was no longer overridden by the master application * The node `cache_terminus` being set to `:store_configs` meant that it started reading the `host` table for the node. * The `host` table in store configs doesn't seem to actually contain most of the data that is part of the node object. Therefore the node for store configs was empty * In an ENC setup you normally wouldn't have `node` declarations and so nothing will happen for the node. Removing the `store_configs.rb` and no longer setting that in the `defaults.rb` hook seems to solve the problem. ---------------------------------------- Bug #16698: external node classifier script is not being called when storedconfigs is on https://projects.puppetlabs.com/issues/16698#change-73116 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.
