facter caching
Overview
For some of the larger installations, resolving some of the ora_install
facts can be very time-consuming. Puppet added facter caching to Facter version 4. By default, facter caching is disabled.
Requirements
The requirements for enabling facter caching are:
- At least Facter version 4.1.0.
- Your existing facts must still work with Facter setting
force-dot-resolution
enabled
Enable facter caching
To enable facter caching, you must include the class ora_install
into your Puppet codebase. You also must add at least the following line to your hieradata:
ora_install::fact_caching::enabled: true
See here for more information about setting the Time To Live (TTL) for the different ora_install
facts.