I'm confused, because I created this on my client only: > /opt/puppetlabs/facter/facts.d/boo.json: > { "boo": "boo222" } > > And added this to me module: > notify { "boo is ${boo}": } > > And received: > Notice: boo is boo222 > > Doesn't that demonstrate that files in facts.d/boo.json are loaded read in > on the agent side? There is no "boo" variable defined anywhere on the > master side. >
Facts are read on the agent side and, when used with `puppet agent`, submitted to the master. The master can also distribute facts from the master to the agents, and they are still processed before the agent's catalog is compiled. When you use `puppet apply`, the master of course cannot distribute it, but the facts are still parsed before the agent compilation, which is why `$boo` had a value. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/85ebb2d1-99aa-4c48-887b-ec501407a858%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.