HomePhorge

(#8410) Use absolute_path? for Puppet::Parameter::Path validation
39a582b1ab92Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8410) Use absolute_path? for Puppet::Parameter::Path validation

A Puppet::Parameter::Path's value is valid if it is fully qualified (or
in the case of an array, if each of its elements is fully qualified).
This class was previously using its own method to validate whether a
path was fully qualified, which was different from the rules applied by
absolute_path?. Now that we have a dedicated method for this,
it is used here for consistency.

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUfb6df317016b: (#8410) Add a helper to Puppet::Util to determine absoluteness of a path
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU39a582b1ab92: (#8410) Use absolute_path? for Puppet::Parameter::Path validation (authored by Nick Lewis <nick@puppetlabs.com>).Aug 24 2011, 7:56 PM