Jira (FACT-1575) Add the ability to cache and block the output of custom facts

18 views
Skip to first unread message

Maggie Dreyer (JIRA)

unread,
Feb 22, 2017, 6:07:02 PM2/22/17
to puppe...@googlegroups.com
Maggie Dreyer created an issue
 
Facter / New Feature FACT-1575
Add the ability to cache and block the output of custom facts
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2017/02/22 3:06 PM
Priority: Normal Normal
Reporter: Maggie Dreyer

In the first round of Configurable Facter work, we added the ability to cache and block built-in facts via settings in the config file. There is also demand to be able to cache and block custom Ruby facts. Blocking should be straightforward, but to implement caching, some updates to the methods dealing with the fact cache are needed, since they currently assume resolvers are the source of all the fact data.

In addition, the output of the `-

list-block-groups` and ` -list-cache-groups` command line options need to be updated to also report custom facts available for caching and blocking.
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Maggie Dreyer (JIRA)

unread,
Mar 24, 2017, 12:07:02 PM3/24/17
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
Change By: Maggie Dreyer
In the first round of Configurable Facter work, we added the ability to cache and block built-in facts via settings in the config file. There is also demand to be able to cache and block custom Ruby facts. Blocking should be straightforward, but to implement caching, some updates to the methods dealing with the fact cache are needed, since they currently assume resolvers are the source of all the fact data. 

In addition, the output of the  `  {{ --list-block-groups ` }}  and  `  {{ --list-cache-groups ` }}  command line options need to be updated to also report custom facts available for caching and blocking.

Maggie Dreyer (JIRA)

unread,
Mar 24, 2017, 12:07:03 PM3/24/17
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
In the first round of Configurable Facter work, we added the ability to cache and block built-in facts via settings in the config file. There is also demand to be able to cache and block custom Ruby facts. Blocking should be straightforward, but to implement caching, some updates to the methods dealing with the fact cache are needed, since they currently assume resolvers are the source of all the fact data. 

In addition, the output of the {{ -- list-block-groups}} and {{ -- list-cache-groups}} command line options need to be updated to also report custom facts available for caching and blocking.

Maggie Dreyer (JIRA)

unread,
Mar 28, 2017, 12:00:03 PM3/28/17
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
In the first round of Configurable Facter work, we added the ability to cache and block built-in facts via settings in the config file. There is also demand to be able to cache and block custom Ruby facts. Blocking should be straightforward, but to implement caching, some updates to the methods dealing with the fact cache are needed, since they currently assume resolvers are the source of all the fact data.  


In  order to keep the feel similar to resolvers, and in response to customer feedback, custom facts should specify a cache group in the form of a sort of tag in the fact, which can be used to cache or block any custom fact with that tag.

In
 addition, the output of the {{list-block-groups}} and {{list-cache-groups}} command line options need to be updated to also report custom facts available for caching and blocking.

Geoff Nichols (JIRA)

unread,
Mar 29, 2017, 2:27:02 PM3/29/17
to puppe...@googlegroups.com

Geoff Nichols (JIRA)

unread,
Mar 29, 2017, 2:28:04 PM3/29/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Sprint: Agent Ready for Engineering

Branan Riley (JIRA)

unread,
Mar 21, 2018, 6:51:03 PM3/21/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Fix Version/s: FACT 4.y
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Branan Riley (JIRA)

unread,
Mar 21, 2018, 6:51:04 PM3/21/18
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
Apr 2, 2018, 1:29:04 PM4/2/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: blocklist cache triaged

Charlie Sharpsteen (JIRA)

unread,
Jun 6, 2018, 5:06:03 PM6/6/18
to puppe...@googlegroups.com

Adam Bottchen (JIRA)

unread,
Jul 19, 2018, 7:28:02 PM7/19/18
to puppe...@googlegroups.com
Adam Bottchen updated an issue
Change By: Adam Bottchen
CS Priority: Needs Priority Reviewed

Dylan Ratcliffe (JIRA)

unread,
Aug 12, 2018, 5:34:03 AM8/12/18
to puppe...@googlegroups.com
Dylan Ratcliffe commented on New Feature FACT-1575
 
Re: Add the ability to cache and block the output of custom facts

Here's a workround until this is fully integrated, there were other modules on the forge before I wrote this but this has a less clunky API and is easier to integrate with existing custom facts: https://forge.puppet.com/dylanratcliffe/facter_cache

Mihai Buzgau (JIRA)

unread,
Jan 16, 2020, 3:48:04 AM1/16/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Team: Platform OS Night's Watch

Mihai Buzgau (JIRA)

unread,
Jan 16, 2020, 3:49:04 AM1/16/20
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Jan 22, 2020, 4:39:08 AM1/22/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2020-01-22 , NW - 2020-02-05

Dorin Pleava (JIRA)

unread,
Jan 29, 2020, 7:36:05 AM1/29/20
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

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

Mihai Buzgau (JIRA)

unread,
Feb 19, 2020, 6:18:15 AM2/19/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2020-01-22, NW - 2020-02-05, NW - 2020-02-19 , NW - 2020-03-04

Mihai Buzgau (Jira)

unread,
Mar 5, 2020, 3:54:03 AM3/5/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2020-01-22, NW - 2020-02-05, NW - 2020-02-19, NW - 2020-03-04 , NW - 2020-03-17
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Mar 18, 2020, 4:54:03 AM3/18/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2020-01-22, NW - 2020-02-05, NW - 2020-02-19, NW - 2020-03-04, NW - 2020-03-17 , NW - 2020-04-01

Gabriel Nagy (Jira)

unread,
Apr 23, 2020, 8:27:03 AM4/23/20
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Fix Version/s: FACT 3.14.10
Fix Version/s: FACT 3.11.13

Claire Cadman (Jira)

unread,
Apr 28, 2020, 9:01:05 AM4/28/20
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: blocklist cache doc_reviewed

Patrick Grant (Jira)

unread,
Jul 9, 2020, 1:33:03 PM7/9/20
to puppe...@googlegroups.com

Claudia Petty (Jira)

unread,
Jun 21, 2023, 8:43:04 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
 
Change By: Claudia Petty
Labels: blocklist cache doc_reviewed new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages