Description
When you install a module that contains file paths valid on the platform that it was built on, but not the platform it's being installed on, PMT fails with an inscrutable error. In hindsight, it's obvious, but the error messaging could be better about what went wrong.
PS C:\Users\Administrator> puppet module install trlinkin/domain_membership
|
Notice: Preparing to install into C:/ProgramData/PuppetLabs/code/environments/pr
|
oduction/modules ...
|
Notice: Downloading from https://forgeapi.puppetlabs.com ...
|
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
|
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
|
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
|
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
|
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
|
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
|
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
|
Failed to add /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
|
Error: Could not install package
|
Package attempted to install file into
|
"trlinkin-domain_membership-1.1.0/:78" under "C:/Users/ADMINI~1/AppData/Local/
|
Temp/cache/tmp20160519-2896-bnlxhg".
|
The problem is that :78 is an invalid filename. The actual error is something more like mkdir : The given path's format is not supported.