voxpupuli / onceover

Your gateway drug to automated infrastructure testing with Puppet
141 stars 45 forks source link

Could not autoload puppet/provider/acl/windows: cannot load such file -- win32/security #300

Closed dylanratcliffe closed 3 years ago

dylanratcliffe commented 3 years ago

When running with Puppet 7 on Windows I get the following error:

Could not autoload puppet/type/acl: Could not autoload puppet/provider/acl/windows: cannot load such file -- win32/security

This is due to the fact that Puppet have removed the win32 gems in Puppet 7: https://puppet.com/docs/puppet/7.1/release_notes_puppet.html#the-win32-process-has-been-removed

Almost all of the modules that use these gems have been updated. However if you haven't updated your Puppetfile you'll get these errors. The solution is to update the complaining modules, for example I had to update from 2.1.0 to 3.2.1

dylanratcliffe commented 3 years ago

Updating modules fixes this