Jira (PUP-3992) ensure data binding for class params can produce undef
Title: Message Title Henrik Lindberg commented on PUP-3992 Re: ensure data binding for class params can produce undef PUP-5925 and PUP-5936 deals with the remaining case for undef handling and data binding and will be released in puppet 4.4.0 and 4.3.0 (whichever comes first). Those tickets have more information and the code has been merged. I am going to close this as a diuplicate even if this ticket was logged before those (we simply missed that we already had a ticket for this). Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-3992) ensure data binding for class params can produce undef
Title: Message Title Christopher Wood commented on PUP-3992 Re: ensure data binding for class params can produce undef I can confirm that hiera+puppet does work with {} or [] or '' in 3.7.2. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3992) ensure data binding for class params can produce undef
Title: Message Title Henrik Lindberg commented on PUP-3992 Re: ensure data binding for class params can produce undef Note that in Puppet 3.7.5 with future parser, and in 4.0.0 we have reimplemented the hiera functions using the 4x function API to make it possible to differentiate between undef and empty string values (this is not the same issue as this, but worth mentioning). Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3992) ensure data binding for class params can produce undef
Title: Message Title Henrik Lindberg commented on PUP-3992 Re: ensure data binding for class params can produce undef Solving this for databinding is problematic since it uses the indirector service and the indirector is incapable of returning anything interesting besides a found value or nil - we have had other problems like this in the past. The real solution is to switch from using the data binding via the indirector and instead use the data provider backends ( PUP-1640 , PUP-3948) also for hiera when they become available. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3992) ensure data binding for class params can produce undef
Title: Message Title Henrik Lindberg commented on PUP-3992 Re: ensure data binding for class params can produce undef Let's have the discussion in the lookup ticket (PUP-3948) Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3992) ensure data binding for class params can produce undef
Title: Message Title Thomas Hallgren commented on PUP-3992 Re: ensure data binding for class params can produce undef One solution would be to raise an exception for not found and return nil when the key is there but produces a nil value. Will require a rewrite of parts of the data providers too since they must make the same distinction. We must also answer the question of when the extras and default value should be used. Only when key not found or also when value is nil? And current 'accept_undef' flag must be renamed and re-purposed. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3992) ensure data binding for class params can produce undef
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-3992 ensure data binding for class params can produce undef Change By: Henrik Lindberg Summary: yamlnullsbreak ensure databindingforclassparams canproduceundef Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3992) ensure data binding for class params can produce undef
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-3992 ensure data binding for class params can produce undef ping Thomas Hallgren - something to consider in the new lookup function wrt to the data provider backend API Change By: Henrik Lindberg Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.