Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Parker Leach updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Parker Leach Labels: docs_reviewed Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.35289.1653325980046%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Josh Cooper Release Notes: Enhancement Release Notes Summary: It's now possible for deferred functions to be called on-demand instead of being preprocessed. This way other resources in the catalog can serve as inputs to the deferred function. If the deferred function fails, then only that resource will fail, while unrelated resources will be applied. To enable this behavior set "Puppet[:preprocess_deferred] = false" or use "--no-preprocess_deferred" on the command line. Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Josh Cooper Fix Version/s: PUP 7.17.0 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.32207.1652850780060%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Tony Vu updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Tony Vu Sprint: Phoenix 2022-05-11 , Phoenix 2022-05-25 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.27170.1652281800294%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper assigned an issue to Josh Cooper Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Josh Cooper Assignee: Josh Cooper Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.24629.1651767720043%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Nirupama Mantha updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Nirupama Mantha Acceptance Criteria: Install the dependencies needed for a deferred function and call the deferred function in the same run.The current behavior should be preserved by default, the new behavior can be turned on with a configuration. Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.18623.165107447%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Josh Cooper Story Points: 4 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.18385.1651032060028%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Josh Cooper Sprint: Phoenix 2022-05-11 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.18382.1651031940067%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Josh Cooper Team: Phoenix Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.15731.1650553560039%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time henrik.lindberg PR is https://github.com/puppetlabs/puppet/pull/7254 Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.10149.1649718300136%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Josh Cooper Team: Froyo Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.10554.1644303720092%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Paul Were commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time We also have T-Mobile raise this issue on Deferred Action. T-Mobile is engaged in leveraging Deferred Action as described below and at this point, they don't have any alternative options. Here is what they have described. Please review and advise. I am getting unexpected behavior from a deferred function, specifically, it seems to be running earlier in the catalog apply process than I expect. I have a repo of user_scripts that I sync out to a host with a vcsrepo resource. These scripts need to get uploaded into our MaaS controller only if they don't exist yet or if the script gets updated in its repo (and synced to the host). I am using a deferred function to calculate the sha256 of the file on disk so that my maas_node_script provider can compare the current file on disk with the one in its DB to determine if it needs to be updated or not. I have a requirement on the vcsrepo but the function runs before the repo has cloned, causing failures on a fresh run, or requiring multiple runs to apply the script changes if they already exist. I expect the function to run at the time the resource is evaluated in the catalog on the agent but it seems to be running before it should. OS: rhel 8.3 puppet agent version: 6.21.1 puppet pe version: 2019.8.5 sample code: $h = Unknown macro: { 'scripts_dir' => '/root/user_scripts', 'user_scripts_branch' => 'master', 'user_scripts' => [ Unknown macro} , Unknown macro: { 'name' => '00-prework', 'file' => '00-prework.sh' } , ] } clone scripts repo vcsrepo { $h['scripts_dir']: ensure => 'latest', provider => git, source => "https://gitlab:${token}@gitlab.com/user_scripts.git", revision => $h['user_scripts_branch'], trust_server_cert => true, } $h['user_scripts'].each |$i,$k,$script_path="${h['scripts_dir']}/${k['file']}"| Unknown macro: { maas_node_script Unknown macro} } lib/puppet/functions/tmo_maas_controller/file_sha256.rb Puppet::Functions.create_function(:'tmo_maas_controller::file_sha256') do dispatch :get_sha do param 'String', :file_and_path end def get_sha(file_and_path) # file should exist if File.exist?(file_and_path) script_contents = File.read(file_and_path)&.strip else raise(Puppet::Error, "file=>#{file_and_path}< does not exist") # <-- I always get this error and a failed catalog apply if the repo hasnt been cloned yet (so far requires a manual clone) end # file should containe some text if script_contents.nil? || script_contents.empty? raise(Puppet::Error, "file=>#{file_and_path}< does not have any contents") end #
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Josh Cooper Epic Link: PUP-9827 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.56082.1623700500029%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Josh Cooper commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time Another example is if the deferred function needs a gem to be present (eg to make an HTTP REST call), then you can't ensure the gem is installed prior to the deferred function being called. Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.24913.1598480700033%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time Jorie Tappa The implementation is not blocked per se but when resources read all of their parameters (long) before they are applied then it defeats the purpose of trying to delay the resolution of the deferred value as they will then not be resolved in the order resources are applied (instead from a user perspective it would seem to be somewhat random). If File is fixed so it does not read all of its parameters up front then it is worth considering adding the delayed resolution in the PR. There would still be quirks for other resource types that read early. I am not sure File is fixable because of what it needs to do - adding resources for children to update the graph for example - can all of that be delayed until it is the File's time to actually apply? Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.4878.1571306820369%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Jorie Tappa commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time Reworking File has been a longtime wishlist item for us. Is this PR and implementation blocked by changes to File? Or should we implement for everything but the resources it won't currently work for as-is? I'm going to change this to "Needs Information" until we know what steps we're taking, since it seems it's not ready for merge based on some open questions. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.4118.1571261280414%40Atlassian.JIRA.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time Hm, the actual difficulties with delaying Deferred resolution was not shown in this ticket. There are many resource types that visit all of their parameters early and thus force the resolution too early. The resource type may need the value early, and such a resource can thus never get late binding deferreds. This complicates everything in a way that isn't great for users, and could possibly be fixed for resources for parameters that are now just read without actually being required to be read early. The PR that is up is just delaying the deferred until the parameter is read. It is worth trying it out, but it won't work with some resources - notably File as it reads its parameters early. Very disappointing because it is the typical use case (File with template produced contents). Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.34863.1559738940336%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time Michael Smith Good example. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.34845.1559736960308%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Michael Smith commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time Alexander Fisher and I are chatting about another use case for this: writing modules, you may want to have a package installed, but are ok with a minimum version as supplied by the OS. But then you need to know the version that was installed to figure out how to configure it. This change to deferred would enable looking up the package version that was ensured when generating a template. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.285576.154262828.34200.1559684460269%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Kenn Hussey Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg commented on PUP-9323 Re: Resolve Deferred values on demand instead of at catalog read time Change this to 6.y - not there yet - don't know if the feature will actually work well enough to be included. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Henrik Lindberg Fix Version/s: PUP 6.2.0 Fix Version/s: PUP 6.y Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Kenn Hussey Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Kenn Hussey Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Henrik Lindberg Fix Version/s: PUP 6.1.0 Fix Version/s: PUP 6.2.0 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Kenn Hussey Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Henrik Lindberg Fix Version/s: PUP 6.1.0 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg assigned an issue to Unassigned Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Henrik Lindberg Assignee: Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg assigned an issue to Henrik Lindberg Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Change By: Henrik Lindberg Assignee: Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-9323) Resolve Deferred values on demand instead of at catalog read time
Title: Message Title Henrik Lindberg created an issue Puppet / PUP-9323 Resolve Deferred values on demand instead of at catalog read time Issue Type: New Feature Assignee: Unassigned Created: 2018/11/19 3:51 AM Priority: Normal Reporter: Henrik Lindberg Instead of (as in Puppet 6.0) resolve all Deferred values at catalog read time it would be much better if Deferred values were resolved as they are needed by resources. The big benefit is that this would enable additional use cases - where it is possible to let changes earlier in the apply cycle affect the values for later resources. From the perspective of a resource this change would not matter, it simply would not see the Deferred instance (just as when it is deferred up front). Add Comment