Issue #8651 has been reported by Josh Cooper.
----------------------------------------
Bug #8651: Indirector does not handle windows paths
https://projects.puppetlabs.com/issues/8651
Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee:
Category: windows
Target version: Telly
Affected Puppet version:
Keywords:
Branch:
Various indirections encode file paths in URI's such as file dipper, file
bucket, file server, but do not work with Windows paths.
For example, in lib/puppet/file_bucket/dipper.rb:
<pre>
Puppet::FileBucket::File.indirection.head("#{@rest_path}#{file_bucket_file.checksum_type}/#{file_bucket_file.checksum_data}#{files_original_path}")
</pre>
where files_original_path is of the form "C:/foo/bar". But later in
lib/puppet/indirector/file_bucket_file/file.rb this is parsed as:
<pre>
checksum_type, checksum, path = request.key.split(/\//, 3)
</pre>
The split causes C: to be included in the checksum, which results in an
exception "Invalid checksum" on line 107
Note that any changes made should not break backwards compatibility between
newer puppetmasters and older agents.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.