Re: [Puppet Users] Passing different facts to external node classifier scripts

2010-06-09 Thread Gary Larizza
FYI - Found that thread: http://groups.google.com/group/puppet-users/browse_thread/thread/28c7b30874bb792c/dca3587668d50f9e?hl=en&lnk=gst&q=external+nodes#dca3587668d50f9e Sorry that this was a rehashing of it - but I agree that this process should be listed in the docs. I'll look into what needs

Re: [Puppet Users] Passing different facts to external node classifier scripts

2010-06-09 Thread Gary Larizza
On Tue, Jun 8, 2010 at 10:50 AM, Nigel Kersten wrote: > > > > We had a chat about this on the list relatively recently. > > The server actually writes out the client fact data *before* the external > node provider gets invoked, so you can poke into the fact store on the > server, assuming that th

Re: [Puppet Users] Passing different facts to external node classifier scripts

2010-06-08 Thread Nigel Kersten
On Tue, Jun 8, 2010 at 7:20 AM, Gary Larizza wrote: > Is there a way to pass something other than the certname fact that is being > passed to an external node classifier script? I'm looking through > puppet/indirector/exec.rb and puppet/indirector/node/exec.rb but am not > seeing a way to change

[Puppet Users] Passing different facts to external node classifier scripts

2010-06-08 Thread Gary Larizza
Is there a way to pass something other than the certname fact that is being passed to an external node classifier script? I'm looking through puppet/indirector/exec.rb and puppet/indirector/node/exec.rb but am not seeing a way to change the information passed. If this isn't possible, is there a w