On Mon, Jul 6, 2009 at 4:28 PM, daniel g <dan...@invisiblempire.com> wrote:
> It appears that pluginsync is syncing every custom fact in all modules in > our puppetmasterd's modulepath, regardless of whether or not the modules are > included for the node in the node list. > It actually HAS to work this way, since module inclusion could be (and often is) determined by values of other facts. Let's say you have node foo { include pony } which defines a custom fact 'i_has_a_pony'. class pony { if($i_has_a_pony) { include saddle } } if the 'saddle' module has custom facts of it's own, you'd need to have those values available at that exact moment -- you can't do another pass of gathering facts. So therefore ANY custom facts for ALL module must ALWAYS be generated, hence the need to use ':confine' when that's not possible. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---