Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
1
-
Client 2016-03-23
-
Not Needed
-
Bug on unreleased feature.
Description
If you try to manage a file with characters like ' ' which must be percent encoded in a URI:
file { '/tmp/file': |
ensure => file, |
source => 'puppet:///modules/ntp/ntp d.conf', |
}
|
Then the compiler will fail to inline metadata:
Error: Could not understand URI puppet:///modules/ntp/files/ntp d.conf: bad URI(is not URI?): puppet:///modules/ntp/files/ntp d.conf
|
/Users/josh/work/puppet/lib/puppet/file_serving/metadata.rb:36:in `rescue in content_uri='
|
/Users/josh/work/puppet/lib/puppet/file_serving/metadata.rb:33:in `content_uri='
|
/Users/josh/work/puppet/lib/puppet/indirector/catalog/compiler.rb:236:in `block in inline_metadata'
|
/Users/josh/work/puppet/lib/puppet/indirector/catalog/compiler.rb:159:in `each'
|
...
|