Not compatible with Puppet 7 on Windows
rostetter opened this issue · 0 comments
rostetter commented
Expected Behavior
Should work on Windows 7
Actual Behavior
Returns errors such as:
Error loading fact C:/ProgramData/PuppetLabs/puppet/cache/lib/facter/windows_common_appdata.rb: cannot load such file -- win32/dir
Steps to Reproduce the Problem
- Install puppet7 on windows
- Run puppet
Specifications
According to https://puppet.com/docs/puppet/7.6/server/upgrading-from-puppet6-to-puppet7.html:
Windows win32 gems removed
Custom facts, external facts, and modules that explicitly require (or rely on Puppet to provide) win32 gems do not work in Puppet 7. These include:
win32-process
win32-service
win32-dir
win32-security
Please add this info:
- Output of
facter -p
on the failing node (at least the OS related facts) - Version of Puppet and of the module
- The relevant Puppet code and eventually Hiera data