Issue #8658 has been updated by Josh Cooper.

Test failure when running rspec spec\unit\type\file\source_spec.rb

<pre>
Puppet::Type::File::ParameterSource when returning the metadata should collect 
its metadata using the Metadata class if it is not already set 
Failure/Error: @source = source.new(:resource => @resource, :value => @foobar)
 Puppet::Error:
   Cannot use URLs of type 'Z' as source for fileserving at :0
 # ./lib/puppet/parameter.rb:165:in `fail'
 # ./lib/puppet/type/file/source.rb:75:in `unsafe_validate'
 # ./lib/puppet/type/file/source.rb:68:in `each'
 # ./lib/puppet/type/file/source.rb:68:in `unsafe_validate'
 # ./lib/puppet/parameter.rb:249:in `validate'
 # ./lib/puppet/parameter.rb:271:in `value='
 # ./lib/puppet/util/methodhelper.rb:14:in `send'
 # ./lib/puppet/util/methodhelper.rb:14:in `set_options'
 # ./lib/puppet/util/methodhelper.rb:11:in `each'
 # ./lib/puppet/util/methodhelper.rb:11:in `set_options'
 # ./lib/puppet/parameter.rb:178:in `initialize'
 # ./spec/unit/type/file/source_spec.rb:51:in `new'
 # ./spec/unit/type/file/source_spec.rb:51
</pre>
----------------------------------------
Bug #8658: The file source parameter does not accept Windows paths
https://projects.puppetlabs.com/issues/8658

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: 
Category: windows
Target version: Telly
Affected Puppet version: 
Keywords: 
Branch: 


When a Windows path is specified as a file source, the C:/ is interpreted as a 
URL where C is the protocol. It should be possible to specify Windows file 
paths and have them be interpretered as local file paths.


-- 
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