Hi Nigel, On 24/09/10 23:46, Nigel Kersten wrote: > Is there any way I can feasibly access a parameter that was set in a > node definition provided by an external node classifier from inside a > fact?
Out of the box I don't think it is possible, since the facts run in puppetd and the node classifier on the master. > The problem I'm facing is that I have several teams who wish to share > a modulepath, but don't want the facts checked in by one team to > module A to be evaluated on clients who are not applying module A. > > Thus I would like to be able to confine the facts to only be evaluated > on those hosts that are actually including those modules. To my knowledge the facts are evaluated prior to the node catalog evaluation so we don't yet know this information. The only way I can think about it is to have your facts query your node classifier out of band of puppet. -- Brice Figureau My Blog: http://www.masterzen.fr/ -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
