On Friday, December 1, 2017 at 5:59:51 PM UTC+1, R.I. Pienaar wrote: > > > All functions like foo() run on the master during compile. It's a multi > phase process, the only way a node can influence the compile time is > using facts. > > You could integrate your CMDB with puppet using a hiera data function > that could exist as a tier in your hierarchy >
Thanks, that makes sense now. I'm looking into hiera, but I think I have another alternative as well. If I put my json files in the facter/facts.d directory (on the agent), it will be automatically loaded. The only somewhat minor downside is that facter runs first, so the data it fetches will only be available in the next puppet run. I'm not sure if that's better or worse than the hiera option as I didn't get hiera working yet. -- 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/1bbf939a-75a8-49a7-9b11-8e073b945335%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.