Jira (PUP-7466) Attempt to redefine entity error while evaluating a Virtual Query

5 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Apr 24, 2020, 8:33:03 PM4/24/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Puppet / Bug PUP-7466
Attempt to redefine entity error while evaluating a Virtual Query
Change By: Josh Cooper
Summary: Error Attempt to redefine entity error while evaluating a Virtual Query
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Sep 29, 2020, 3:47:03 PM9/29/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-7466
 
Re: Attempt to redefine entity error while evaluating a Virtual Query

I believe all of the "Attempt to redefine entity" errors have been resolved in puppet 6.18.0so I'm going to close this. Please reopen if it is still an issue, and please include steps to reproduce.

Greg Dubicki (Jira)

unread,
Jan 26, 2021, 2:04:02 PM1/26/21
to puppe...@googlegroups.com
Greg Dubicki commented on Bug PUP-7466

In my case quick upgrade from Puppet 5 to 6 is not an option, but I did work around the issue by replacing code like:

resource { 'foo':
  ensure => present,
  require => My_failing_resource['bar'],
}

with something like:

my_failing_resource { 'bar':
  ensure => present,
}
-> resource { 'foo':
  ensure => present,
}

Reply all
Reply to author
Forward
0 new messages