Issue #8651 has been updated by Josh Cooper.

Target version changed from 2.7.x to 2.7.5

Additional changes were made to the indirector as part of the file provider 
refactor #8411 in merge commit ec587b449e56050afca9838b23df9f0d8ffc7a63 to 
2.7.x. Specifically, commit:5fea1dc64829e9c8178937764faccd51131b2a77
----------------------------------------
Bug #8651: Indirector does not handle windows paths
https://projects.puppetlabs.com/issues/8651

Author: Josh Cooper
Status: Merged - Pending Release
Priority: Normal
Assignee: Jacob Helwig
Category: windows
Target version: 2.7.5
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.

Reply via email to