Am Mittwoch, 25. April 2018 16:01:00 UTC+2 schrieb Michael Di Domenico: > > i'm upgrading from puppet 3 (via epel) to puppet 5 (via puppetlabs), > i'm confused on how/if there's a way to get custom ruby facts to load > into facter without having to specify FACTERLIB. i'll admit i might > have missed something in the documentation > > in the past i'd copy my ruby facts into > /usr/share/ruby/vendor_ruby_facter (which probably wasnt right), and > everytime I ran facter it would autoload my facts, no need for > switches to env variables > > there is a /opt/puppetlabs/puppet/lib/ruby/vendor_ruby, but when i > copy my facts into there they don't load > > what's the right way to do this? >
what are your "custom facts" ? Custom facts in modules get automatically synced to the puppet agent or for puppet apply. If you manage your facts yourself and not by modules you might configure the custom-dir within the facter.conf https://puppet.com/docs/facter/3.11/configuring_facter.html - Thomas -- 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/d903ff0d-da42-4ad3-ac4d-7d222e95bc6c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
