Jira (PUP-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Branan Riley updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Branan Riley Release Notes: New Feature Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Branan Riley updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Branan Riley Release Notes Summary: Multiple tidy resources can now manage the same directory Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Geoff Nichols Fix Version/s: PUP 4.8.0 Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Phong Ly assigned an issue to Phong Ly Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Phong Ly Assignee: qa Phong Ly Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Phong Ly assigned an issue to qa Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Phong Ly Status: Ready for CI Test Assignee: Phong Ly qa Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title David Kramer updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: David Kramer Sprint: Client 2016-08-24 , Client 2016-09-07 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Phong Ly assigned an issue to Phong Ly Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Phong Ly Assignee: Phong Ly 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Phong Ly updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Phong Ly 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Branan Riley assigned an issue to Unassigned Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Branan Riley Assignee: Kylo Ginsberg 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Branan Riley updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Branan Riley Scrum Team: Client Platform 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Branan Riley updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Branan Riley Sprint: Client 2016-08-24 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Branan Riley updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Branan Riley Story Points: 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Clay Caviness commented on PUP-6508 Re: Multiple tidy resources with same path but different matches causes an error https://github.com/puppetlabs/puppet/pull/5121 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Clay Caviness commented on PUP-6508 Re: Multiple tidy resources with same path but different matches causes an error I believe this can be fixed by simply declaring tidy resources to be non-isomorphic (by adding @isomorphic = false to the type declaration). 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Clay Caviness commented on PUP-6508 Re: Multiple tidy resources with same path but different matches causes an error This is confusing to me - exec sets command as namevar, but so long as each exec's resource's title is different, you can have multiple resources with the same command. 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Clay Caviness updated an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Change By: Clay Caviness Having multiple {{tidy}} resources with the same {{path}} but different {{matches}} parameters causes an error:{code}$ puppet apply -e ' > tidy { "test1": > path => "/tmp/tidy", > matches => "some-regex.*", > recurse => true,> } > tidy { " test1 test2 ": > path => "/tmp/tidy", > matches => "some-other-regex.*", > recurse => true,> } > ' Error Notice : Evaluation Compiled catalog for derezzed.roam.corp.google.com in environment production in 0.05 seconds Error: Error while evaluating a Resource Statement, Duplicate declaration: Cannot alias Tidy[ test1 test2 ] is to ["/tmp/tidy"]; resource ["Tidy", "/tmp/tidy"] already declared in file :2; cannot redeclare at line 6 at line 6:1 on node localhost {code}The error is thrown during [catalog generation|https://github.com/puppetlabs/puppet/blob/master/lib/puppet/resource/catalog.rb#L189], the key passed into that alias method comes from the resource's [{{uniqueness_key}}|https://github.com/puppetlabs/puppet/blob/master/lib/puppet/resource/catalog.rb#L161] and class. The {{uniqueness_key}} is [generated|https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type.rb#L436] from the type's {{key_attributes}} which are all parameters that are [marked "isnamevar" or are called name|https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type.rb#L377]. The parameter Tidy declares {{isnamevar}} is [{{path}}|https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/tidy.rb#L22], so having multiple Tidy resources with the same {{path}} will fail even if they have different {{matches}} parameters. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (PUP-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Clay Caviness commented on PUP-6508 Re: Multiple tidy resources with same path but different matches causes an error I'm not sure exactly how to fix this; somehow I think namevar needs to be path+matches somehow? 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-6508) Multiple tidy resources with same path but different matches causes an error
Title: Message Title Clay Caviness created an issue Puppet / PUP-6508 Multiple tidy resources with same path but different matches causes an error Issue Type: Bug Affects Versions: PUP 4.5.2 Assignee: Kylo Ginsberg Components: Client Created: 2016/07/15 7:53 AM Priority: Normal Reporter: Clay Caviness Having multiple tidy resources with the same path but different matches parameters causes an error: $ puppet apply -e ' tidy { "test1":