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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/11260c1c-fafe-4d87-b1b9-5dcfae8aa060%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.