Hi, I am searching for a reasonably good method to determine where I should drop external fact files (like yaml/json files) on an arbitrary unix/linux/mac system...preferably outside of puppet. It seems different versions and install methods of puppet put the facter/facts.d directory in different places.
For example, on a unix/linux host, suppose I have a cron job that produces a yaml file that I want to access as a fact in some module, role or profile. The cron job would need to determine where to create the file so that puppet can pull it as a fact. Should the cron job just create (if necessary) /etc/facter/facts.d and drop a file in there? Will that work for most unix/linux platforms and versions of puppet 3 and 4? Thanks! -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0067aba0-f316-4660-bc31-ce1713fed76d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
