HomePhorge

(#2244) Plugin mount return a directory if modulepath is valid but has no…
c183f2fc8d33Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#2244) Plugin mount return a directory if modulepath is valid but has no plugins

Prior to this if there were no plugins in the modulepath then the plugin mount
(used for pluginsync) would return nil. If the modulepath is valid then the
correct behavior would be to appear as an empty directory, just as a normal
file source would. We can hack this by returning the modulepath and turning
off recursion so it appears empty.

The error message one would see previous is:
Could not evaluate: Could not retrieve information from environment production source(s) puppet://host/plugins

Details

Provenance
Patrick Carlisle <patrick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5f22554b12fd: Merge pull request #387 from ahpook/tickets-4426-regexp
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPUc183f2fc8d33: (#2244) Plugin mount return a directory if modulepath is valid but has no… (authored by Patrick Carlisle <patrick@puppetlabs.com>).Feb 1 2012, 11:19 PM