Jira (PUP-9817) Choose a strategy for re-collecting Hiera keys used during a compile

2 views
Skip to first unread message

Maggie Dreyer (JIRA)

unread,
Jul 8, 2019, 6:47:03 PM7/8/19
to puppe...@googlegroups.com
Maggie Dreyer created an issue
 
Puppet / Task PUP-9817
Choose a strategy for re-collecting Hiera keys used during a compile
Issue Type: Task Task
Assignee: Unassigned
Created: 2019/07/08 3:46 PM
Priority: Normal Normal
Reporter: Maggie Dreyer

In order for Impact Analysis to work with Hiera data, PDB is going to store the list of Hiera keys looked up while compiling that node's catalog. We don't want to do this collection every time, because it is more expensive and unlikely to be changing much most of the time.

We need to decide on a strategy for refreshing the collected data. Some ideas include:
1) On an interval. We would need to determine the frequency.
2) Based on heuristics (e.g. if the node has no data yet, facts have changed, or the code version has changed). We would need to determine what markers to watch.
3) On a change to Hiera data. We would need to integrate with CD4PE and have it trigger a collection compile on the affected node when it deploys code.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages