-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: PUP 3.6.0
-
Fix Version/s: PUP 3.7.0
-
Component/s: Types and Providers
-
Labels:None
-
Environment:
Puppet 3.6.1 server, Puppet 3.6.1 client. Separate puppet server for catalog and puppet fileserver for this content, using passenger for both.
-
Template:customfield_10700 37629
-
Story Points:2
-
Sprint:Week 2014-6-4 to 2014-6-11, Week 2014-6-11 to 2014-6-18
This one's new on me.
We're using file{ : recurse => remote} to pull a directory structure from a remote puppet fileserver. It would appear that there's a mismatch causing it to multiply urlencode resources it's recursing over, causing it to render a space ' ' as %2520 in the file_content call.
Here's a convenient, if ugly, example:
In the Fileserver:
[29/May/2014:14:15:18 -0700] "GET /production/file_content/puppet/python340/lib/python3.4/site-packages/setuptools/__pycache__/script%2520template%2520(dev).cpython-34.pyc HTTP/1.1" 404 147 "-" "-"
|
in the client:
Error 404 on SERVER: Not Found: Could not find file_content puppet/python340/lib/python3.4/site-packages/setuptools/__pycache__/script%20template%20(dev).cpython-34.pyc
|
Error: /Stage[main]/.../File[/opt/python340/lib/python3.4/site-packages/setuptools/__pycache__/script template (dev).cpython-34.pyc]/ensure: change from absent to file failed:
|
Could not set 'file' on ensure:
|
Error 404 on SERVER: Not Found:
|
Could not find file_content puppet/python340/lib/python3.4/site-packages/setuptools/__pycache__/script%20template%20(dev).cpython-34.pyc
|
- relates to
-
PUP-3135 Square brackets in file names not handled properly
-
- Accepted
-
-
PUP-1892 PR (2420) Puppet remote fileserver facility for file resources.
-
- Closed
-
-
PUP-2687 File Names with "?" cause failures with recursive copies
-
- Accepted
-
-
PUP-1890 URI.unescape mangles UTF-8 paths producing invalid ASCII strings
-
- Closed
-
- links to