Jira (PUP-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Sean Griffin updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Sean Griffin QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title John Duarte updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: John Duarte Fix Version/s: PUP 4.y Fix Version/s: PUP 4.6.0 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title John Duarte updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: John Duarte Release Notes Summary: This fixes a lexer error that prevented nested string interpolation not to be properly interpolated. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title John Duarte updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: John Duarte Release Notes: Bug Fix Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title John Duarte commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. Validated using pre-release version of puppet-agent at SHA 277f09e containing puppet at SHA 9807733 on Debian 8 amd64. root@je7458qow3pf0u1:~# cat /opt/puppetlabs/puppet/VERSION 1.5.2.329.g277f09e root@je7458qow3pf0u1:~# /opt/puppetlabs/bin/puppet apply -e '$foo="hello world"; notice "${"${foo}"}"' Notice: Scope(Class[main]): hello world Notice: Compiled catalog for je7458qow3pf0u1.delivery.puppetlabs.net in environment production in 0.08 seconds Notice: Applied catalog in 0.02 seconds Add Comment
Jira (PUP-5887) Interpolation in interpolation nested string does not work.
Title: Message Title John Duarte assigned an issue to John Duarte Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: John Duarte Assignee: qa John Duarte Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Sean Griffin assigned an issue to qa Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Sean Griffin Status: Ready for CI Test Assignee: qa Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Henrik Lindberg commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. Merged to master at: 6a77501 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Sean Griffin updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Sean Griffin QA Risk Assessment: Medium QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Steve Barlow updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Steve Barlow Sprint: Language 2016-07-13 , Language 2016-07-27 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Henrik Lindberg commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. That is just bizarre, but also the consequence of allowing variables like $if or any other keyword. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Thomas Hallgren commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. The _expression_: notice "${undef}" is short for: notice "${$undef}" which makes me think that the "undef is an unknown variable" message is actually correct. This: $undef = 'x' notice "${undef}" is ok, and prints 'x' Add Comment
Jira (PUP-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Thomas Hallgren updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Thomas Hallgren Scope Change Category: Found Scope Change Reason: TODO list is empty. Sprint: Language Triage 2016-07-13 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Thomas Hallgren assigned an issue to Thomas Hallgren Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Thomas Hallgren Assignee: Thomas Hallgren Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Henrik Lindberg commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. This should be an error. There must be an _expression_ to interpolate or you do not need the interpolation at all. One could argue that the language should support this, and that it is the same as interpolating undef / empty string. The only time that would be of value is if a user wants to temporarily comment out an interpolation and thus leaving no _expression_ at all. Otherwise it is a big difference having an empty string, or _expression_ evaluating to empty string/undef in the interpolation as you probably forgot something and thus it should be flagged. I think we should continue to treat this as an error: {code:puppet}} notice "${}" # fails with syntax error. But, if others think it is of value to be able to comment out an _expression_ when testing/hacking, I can accept that we relax the requirement that there must be exactly one _expression_ there. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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://gr
Jira (PUP-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Thomas Hallgren commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. I see one more discrepancy: notice "${""}" # ok, prints an empty string notice "${}" # fails with syntax error. Is it correct to assume that both should work or both should fail? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Henrik Lindberg commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. You get the same error if $foo has a value. notice "${"a"}" # works, notices 'a' $foo = 'a' notice "${"$foo"}" # fails with syntax error notice "${"${foo}"}" # fails with syntax error notice "${undef}" # emits warning "undef is an unknown variable" function x() { undef } notice "${x()}" # ok, prints an empty string Lexing is not right - there should be no syntax errors. There is also a problem with 'undef' not being recognized. If there is an _expression_ that returns undef it works the way it is supposed to, but not when undef is given as a keyword. Add Comment
Jira (PUP-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Thomas Hallgren commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. If ${foo} results in undef (which becomes an empty string), then the first _expression_ is the same as "${}" and the syntax error is correct. It doesn't say that it is on the closing double qoute, it reports two single quotes, i.e. "syntax error at " which I interpret as "syntax error at empty string". So is this really a bug? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Kylo Ginsberg commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. I'm marking this as for PUP 4.x so it's off the puppet-agent 1.4.0 must-have list. If we have time and priority and pull it into the current sprint we can update the fixVersion back to 4.4.0 then. 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Kylo Ginsberg Fix Version/s: PUP 4.4.0 Fix Version/s: PUP 4.x 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Henrik Lindberg commented on PUP-5887 Re: Interpolation in interpolation nested string does not work. Ping on NPUP-18 when there are test cases (in case there are more things that should be tested than the simple example here. i.e. 3 levels, several in a row...) 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Change By: Henrik Lindberg Sprint: Language Triage 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-5887) Interpolation in interpolation nested string does not work.
Title: Message Title Henrik Lindberg created an issue Puppet / PUP-5887 Interpolation in interpolation nested string does not work. Issue Type: Bug Assignee: Unassigned Created: 2016/02/11 12:20 PM Fix Versions: PUP 4.4.0 Priority: Normal Reporter: Henrik Lindberg If you do this: notice "${"${foo}"}" There is a syntax error at the closing " If doing this (i.e. no interpolation in inner string): notice "${ "\$foo" }"