Jira (PUP-11526) Evaluate deferred functions lazily by default

27 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Apr 27, 2022, 10:36:02 PM4/27/22
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Bug PUP-11526
Evaluate deferred functions lazily by default
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2022/04/27 7:35 PM
Fix Versions: PUP 8.0.0
Priority: Normal Normal
Reporter: Josh Cooper

This is a follow up to PUP-9323 so that deferred functions are evaluated lazily by default.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Josh Cooper (Jira)

unread,
Sep 2, 2022, 2:32:02 PM9/2/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PA PUP - 4081 11617
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Josh Cooper (Jira)

unread,
Sep 12, 2022, 2:20:02 PM9/12/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Dec 5, 2022, 8:16:02 PM12/5/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Issue Type: Bug Task

Josh Cooper (Jira)

unread,
Dec 5, 2022, 8:17:03 PM12/5/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Issue Type: Task Improvement

Josh Cooper (Jira)

unread,
Dec 5, 2022, 8:18:02 PM12/5/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Dec 5, 2022, 8:18:03 PM12/5/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Issue Type: Improvement Task

Morgan Rhodes (Jira)

unread,
Dec 8, 2022, 1:26:02 PM12/8/22
to puppe...@googlegroups.com

Morgan Rhodes (Jira)

unread,
Jan 4, 2023, 1:10:01 PM1/4/23
to puppe...@googlegroups.com
Morgan Rhodes updated an issue
Change By: Morgan Rhodes
Sprint: Phoenix 2023-01-18

Morgan Rhodes (Jira)

unread,
Jan 4, 2023, 1:23:02 PM1/4/23
to puppe...@googlegroups.com
Morgan Rhodes updated an issue
This is a follow up to PUP-9323 so that deferred functions are evaluated lazily by default.


Change the default setting for the parameter added in PUP-9323, may be test changes as well.

Aria Li (Jira)

unread,
Jan 10, 2023, 2:27:01 PM1/10/23
to puppe...@googlegroups.com
Aria Li assigned an issue to Aria Li
Change By: Aria Li
Assignee: Aria Li

Josh Cooper (Jira)

unread,
Jan 10, 2023, 3:24:02 PM1/10/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
This is a follow up to PUP-9323 so that deferred functions are evaluated lazily by default.

Change Deferred functions are executed on the default setting for agent when the parameter added agent applies a catalog. A good example is to call Vault to lookup a Sensitive password. That way the password is never stored in PUP the catalog. For example, see [https://www.puppet.com/docs/puppet/7/deferring_functions.html#deferring_functions - 9323 deferred-function-example]

Historically
, may deferred functions were called before the catalog was enforced, which meant you couldn't use puppet to install dependencies needed by the deferred function. For example, to install gems, libraries, configuration needed to connect to vault.

For this ticket, we want to change the default value of the {{preprocess_deferred}} setting so that they are not preprocessed by default. Instead they will
be test changes as well evaluated during catalog application . In the vault example, the deferred function would be called when applying the {{File['/etc/secrets.conf']}} resource.

Josh Cooper (Jira)

unread,
Jan 13, 2023, 6:26:03 PM1/13/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Enhancement
Release Notes Summary: Deferred functions are now lazily evaluated by default. See the preprocess_deferred setting for more details.

Parker Leach (Jira)

unread,
Apr 19, 2023, 2:50:02 PM4/19/23
to puppe...@googlegroups.com
Parker Leach updated an issue
Change By: Parker Leach
Labels: docs_reviewed
Reply all
Reply to author
Forward
0 new messages