Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
PUP 4.10.1
-
None
-
None
-
-
Agent
-
2
-
Agent 2017-06-14, Agent 2017-06-28
-
Customer Feedback
-
Bug Fix
-
-
No Action
-
change includes spec tests
Description
A load of a resource type will sometimes create a Puppet::Pops::Loader::TypedName that starts with an uppercase letter. When this name is used in order to find a type generated with puppet generate types, it isn't found. Since it's not found, a load of the Ruby type is performed instead, which results in an "Attempt to redefine entity" error when that a successful load of the generated type has been performed earlier (with a TypedName that didn't start with an uppercase letter).
Attachments
Issue Links
- relates to
-
PUP-7671 Resource definition via Resource["string"] { "title": ... } fails in Puppet 4.10.3
-
- Closed
-
-
PUP-8002 "Attempt to redefine entity" caused by using a resource collector
-
- Closed
-
-
MODULES-5095 puppetlabs-stdlib : Workaround for puppet issue PUP-7650
-
- Ready for CI
-