Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
-
Coremunity
-
Platform Core KANBAN
-
Not Needed
-
Issue was introduced in the master branch and never released.
-
Needs Assessment
Description
If a vendored modules' provider includes helper code within the same module, then running puppet describe will fail, because the module's lib directory is not on the ruby $LOAD_PATH. For example, the mount provider calls
require 'puppet/provider/mount' |
which is helper code in the same module, and results in:
# puppet describe -l
|
Error: Could not autoload puppet/provider/mount/parsed: cannot load such file -- puppet/provider/mount
|
Error: Could not autoload puppet/type/mount: Could not autoload puppet/provider/mount/parsed: cannot load such file -- puppet/provider/mount
|
Error: Could not run: Could not autoload puppet/type/mount: Could not autoload puppet/provider/mount/parsed: cannot load such file -- puppet/provider/mount
|
Attachments
Issue Links
- blocks
-
PUP-8815 Remove type/provider code from puppet
-
- Resolved
-