One of the reasons you might see this could be a check on the path in 3.4.x
to verify that volumes are NTFS.

I think we may have already fixed this for 3.5.x with
https://tickets.puppetlabs.com/browse/PUP-1450.

Another thing to verify is that you have all of the correct gems (and
versions) loaded with puppet for use on Windows.
https://github.com/puppetlabs/puppetlabs-acl/blob/master/Gemfile#L26-L40




On Tue, Apr 8, 2014 at 9:17 AM, Rich Siegel <rismo...@gmail.com> wrote:

> I am getting this error in rpec using the puppet gem 3.4.3
>
>
> On Monday, April 7, 2014 10:43:38 AM UTC-4, Rob Reynolds wrote:
>
>> Rich,
>>  What version is the puppet agent?
>>
>>
>> On Fri, Apr 4, 2014 at 3:51 PM, Rich Siegel <rism...@gmail.com> wrote:
>>
>>> In my  loadcsv parser function I do (I stripped out all non-relevant
>>> parts)
>>>
>>> ```
>>> require 'puppet/file/serving/configuration'
>>> # on windows this fails - path is the args[0]:
>>> # path  = 'puppet:///modules/name/myfile.csv'
>>> content = Puppet::FileServing::Content.indirection.find(path)
>>> ```
>>>
>>> just trying to do this:
>>> $niccsv = loadcsv ('puppet:///modules/network/ise-lld/ise-nic.csv')
>>>
>>>
>>> Puppet::Error:
>>>        Could not create resources for managing Puppet's files and
>>> directories in sections [:main, :ssl]: undefined method `supports_acl?' fo
>>> r #<Puppet::Type::File::ProviderWindows:0x000000082399e0>
>>>        undefined method `supports_acl?' for #<Puppet::Type::File::
>>> ProviderWindows:0x000000082399e0> at /home/rismoney/puppet/modules/
>>> dns/spe
>>> c/fixtures/modules/dns/manifests/windows.pp:10 on node dev.example.com
>>>
>>> L10 is just
>>> $niccsv = loadcsv ('puppet:///modules/network/lld/ise-nic.csv')
>>>
>>> Am I missing something to use the File API on windows?
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Puppet Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to puppet-users...@googlegroups.com.
>>>
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/puppet-users/11260c1c-fafe-4d87-b1b9-5dcfae8aa060%
>>> 40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/11260c1c-fafe-4d87-b1b9-5dcfae8aa060%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Rob Reynolds
>> Developer, Puppet Labs
>>
>> *Join us at **PuppetConf 2014**, September 23-24 in San Francisco
>> - http://puppetconf.com <http://puppetconf.com/>*
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/30d3c0da-b893-4566-97ba-83a5359e77b7%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/30d3c0da-b893-4566-97ba-83a5359e77b7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Rob Reynolds
Developer, Puppet Labs

*Join us at **PuppetConf 2014**, September 23-24 in San Francisco
- http://puppetconf.com <http://puppetconf.com/>*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAMJiBK7w4sLBnKqvZxQxK93vV5CEYfhRbz2VpnJa3M7E_OrqUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to