Jira (FACT-2307) Add ability to cache external facts

0 views
Skip to first unread message

Ciprian Badescu (JIRA)

unread,
Jan 28, 2020, 5:24:04 AM1/28/20
to puppe...@googlegroups.com
Eric Sorenson created an issue
 
Facter / Task FACT-2307
Add ability to cache external facts
Issue Type: Task Task
Assignee: Ciprian Badescu
Created: 2020/01/28 2:23 AM
Labels: cache
Priority: Normal Normal
Reporter: Eric Sorenson

Currently only caching of core facts is supported. Since this is done based on resolvers, the internal process for caching external facts might look quite different. This ticket is intended to track the investigation of what work would be needed to allow the caching of external facts by name, analogous to the UX of caching by group name for core facts. That work also includes updating the command line option which lists cachable facts to include external facts.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Ciprian Badescu (JIRA)

unread,
Jan 28, 2020, 5:26:03 AM1/28/20
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Currently only * list-cache-groups should list the external facts files
* external resolvers should provide a list of resolved facts, to be used in current
caching mechanism (eg. instead of core directly calling facts is supported . Since this is done based on resolvers add_external_fact , but a proxy resolver method that will cache the facts names, etc.)
* cache module should handle both
internal process for caching and external facts might look quite different resolvers (eg . This ticket is intended to track the investigation instead of what work would relying on directly receiving name()/names() instead from resolver they could be needed to allow the caching of external facts by received as arguments *or* implement name /names in external resolvers , analogous to the UX of caching by group name for core facts etc . That work also includes updating the command line option which lists cachable facts to include )
* if same
external facts . file is present in more than one place, throw a warning and use only one of them, because filename is used as key for caching and must be unique

Ciprian Badescu (JIRA)

unread,
Jan 28, 2020, 5:26:04 AM1/28/20
to puppe...@googlegroups.com
Ciprian Badescu assigned an issue to Unassigned
Change By: Ciprian Badescu
Assignee: Ciprian Badescu

Ciprian Badescu (JIRA)

unread,
Jan 28, 2020, 5:27:03 AM1/28/20
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Sprint: NW - 2020-02-05

Ciprian Badescu (JIRA)

unread,
Jan 30, 2020, 6:33:04 AM1/30/20
to puppe...@googlegroups.com
Ciprian Badescu assigned an issue to Ciprian Badescu
Change By: Ciprian Badescu
Assignee: Ciprian Badescu

Mihai Buzgau (JIRA)

unread,
Feb 5, 2020, 5:38:06 AM2/5/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2020-02-05 , NW - 2020-02-19

Luchian Nemes (JIRA)

unread,
Feb 12, 2020, 9:53:04 AM2/12/20
to puppe...@googlegroups.com
Luchian Nemes updated an issue
Change By: Luchian Nemes
Fix Version/s: FACT 3.14.8

Mihai Buzgau (Jira)

unread,
Mar 3, 2020, 5:29:03 AM3/3/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Fix Version/s: FACT 3.11.12
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages