HomePhorge

(PUP-514) Accept Resource, or Type[Resource] when forming relationship
ec4419b2a2d3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-514) Accept Resource, or Type[Resource] when forming relationship

This makes forming relationships possible using either a
Types::PResourceType (or hostclass type) and a
PType[Types::PResourceType].

This was changed to allow Puppet::Resource to have the same semantics
as a PResourceType. (Currently 3x expressions produces instances
of PResourceType as the result of a resource expression, this is not
transformed back to a PResourceType, instead it is inferred to be
Type[Reource].

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
Andrew Parker <andy@puppetlabs.com>Committed on Jun 12 2014, 11:46 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUe0d87b816c72: (PUP-514) Change Puppet::Resource inferece to be Type[Resource]
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPUec4419b2a2d3: (PUP-514) Accept Resource, or Type[Resource] when forming relationship (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Jun 12 2014, 11:46 PM