HomePhorge

(#11333) Make Puppet::Type.ensurable? false when exists? is undefined
471fb589a42cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#11333) Make Puppet::Type.ensurable? false when exists? is undefined

Puppet::Type.ensurable? incorrectly returned true even when
public_method_defined?(:exists?) was false because the check never
actually happened. This make sure all the necessary methods are checked
and adds tests.

Signed-off-by: Patrick Carlisle <patrick@puppetlabs.com>

Details

Provenance
Ilya Sher <ilya.sher@coding-knight.com>Authored on
Patrick Carlisle <patrick@puppetlabs.com>Committed on Dec 14 2011, 11:35 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU40313fa143ed: Merge remote-tracking branch 'jhelwig/tickets/2.7.x/8062-yum-epoch' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPU471fb589a42c: (#11333) Make Puppet::Type.ensurable? false when exists? is undefined (authored by Ilya Sher <ilya.sher@coding-knight.com>).Dec 14 2011, 11:35 PM