Jira (PUP-11216) Add support for multiple Facter implementations

18 views
Skip to first unread message

Gheorghe Popescu (Jira)

unread,
Aug 23, 2021, 8:42:03 AM8/23/21
to puppe...@googlegroups.com
Gheorghe Popescu created an issue
 
Puppet / Improvement PUP-11216
Add support for multiple Facter implementations
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2021/08/23 5:41 AM
Priority: Normal Normal
Reporter: Gheorghe Popescu

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)

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Gheorghe Popescu (Jira)

unread,
Aug 23, 2021, 8:46:02 AM8/23/21
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Change By: Gheorghe Popescu
Acceptance Criteria: Puppet allows callers to register Facter implementations, and it has a default implementation that calls Facter API and is registered in the runtimes mechanism

Ciprian Badescu (Jira)

unread,
Aug 23, 2021, 10:39:02 AM8/23/21
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Aug 25, 2021, 5:20:03 AM8/25/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Sprint: NW-2021- 10 09 - 06 08

Ciprian Badescu (Jira)

unread,
Aug 25, 2021, 5:21:03 AM8/25/21
to puppe...@googlegroups.com

Gheorghe Popescu (Jira)

unread,
Aug 25, 2021, 7:29:03 AM8/25/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Sep 7, 2021, 11:07:02 AM9/7/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 7.11.0
Fix Version/s: PUP 6.25.0

Josh Cooper (Jira)

unread,
Sep 7, 2021, 11:07:03 AM9/7/21
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Sep 8, 2021, 5:31:02 AM9/8/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
 
Change By: Ciprian Badescu
Sprint: NW - 2021-09-08 , NW - 2021-09-22

Josh Cooper (Jira)

unread,
Sep 10, 2021, 2:28:02 PM9/10/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Sep 10, 2021, 2:29:03 PM9/10/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Release Notes: Enhancement
Release Notes Summary: It's now possible to register a facter implementation when initializing puppet via Puppet.initialize_settings

Claire Cadman (Jira)

unread,
Sep 13, 2021, 7:11:02 AM9/13/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages