Jira (PUP-2813) Puppet parser is totally broken in this weird way
Title: Message Title Henrik Lindberg commented on an issue Re: Puppet parser is totally broken in this weird way The problem is most likely in the concat function as it MUTATES the operand. See PUP-2090, and try the work around described there to see if that helps. I am closing this as a duplicate of PUP-2090 (please reopen if the work around did not solve the issue). Add Comment Puppet / PUP-2813 Puppet parser is totally broken in this weird way # run this code: exec { '/bin/echo aaa': alias = 'aaa', } exec { '/bin/echo bbb': alias = 'bbb', } $r1 = [ Exec['aaa'], Exec['bbb'], ] $x = [Exec['xxx']] $r2 = concat($r1, $x) exec { '/bin/echo ccc': alias = 'ccc', # note that $r2 is commented out... require = $r1, #require = $r2, } exec { '/bin/echo xxx': ali... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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
Jira (PUP-2813) Puppet parser is totally broken in this weird way
Title: Message Title James Shubin created an issue Puppet / PUP-2813 Puppet parser is totally broken in this weird way Issue Type: Bug Affects Versions: 3.6.2 Assignee: Unassigned Created: 20/Jun/14 12:04 AM Environment: GNU/Linux Priority: Critical Reporter: James Shubin run this code: exec { '/bin/echo aaa': alias = 'aaa', } exec { '/bin/echo bbb': alias = 'bbb', } $r1 = [ Exec['aaa'], Exec['bbb'], ] $x = [Exec['xxx']] $r2 = concat($r1, $x) exec { '/bin/echo ccc': alias = 'ccc', # note that $r2 is commented out... require = $r1, #require = $r2, } exec { '/bin/echo xxx': alias = 'xxx', # if we are using $r2 this should be a dependency loop... BUT require = Exec['ccc'], } LOL it is anyways...
Jira (PUP-2813) Puppet parser is totally broken in this weird way
Title: Message Title James Shubin commented on an issue Re: Puppet parser is totally broken in this weird way It's late, so maybe I'm just doing something silly, otherwise the parser is doing some really strange things. This should give you enough to reproduce, and tracking down this bug will hopefully find some serious scary bug or programming error in puppet. Thanks and goodluck! Add Comment Puppet / PUP-2813 Puppet parser is totally broken in this weird way # run this code: exec { '/bin/echo aaa': alias = 'aaa', } exec { '/bin/echo bbb': alias = 'bbb', } $r1 = [ Exec['aaa'], Exec['bbb'], ] $x = [Exec['xxx']] $r2 = concat($r1, $x) exec { '/bin/echo ccc': alias = 'ccc', # note that $r2 is commented out... require = $r1, #require = $r2, } exec { '/bin/echo xxx': ali... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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