Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
-
Night's Watch
-
5
-
NW - 2021-09-08, NW - 2021-09-22
-
Enhancement
-
It's now possible to register a facter implementation when initializing puppet via Puppet.initialize_settings
-
Needs Assessment
Description
Allow projects to register a facter implementations, similar to how callers (like puppetserver) register an HTTP client implementation. This will isolate the compiler from the system and will allow easier testing. We need to implement the same mechanism that is used for HttpClient. A default Facter implementation should be added, this will be used in Puppet and it will call the Facter API
Eg.
facter_impl = FacterImpl.new |
Puppet.initialize_settings([], true, true, http: ..., facter: facter_impl) |
Attachments
Issue Links
- blocks
-
PUP-11217 Replace `Facter.value` with the new Facter Implementation
-
- Resolved
-
-
PUP-9685 Allow providing required facts during Puppet initialization
-
- Closed
-
- is duplicated by
-
PUP-9686 Allow initializing Puppet w/o loading Facter
-
- Closed
-
- supports
-
FACT-3039 Puppet6/ruby2.5 runs in 42 minutes, where Puppet5/ruby2.4 runs in 25
-
- Resolved
-