example42/puppi

Not compatible with Puppet 7 on Windows

rostetter opened this issue · 0 comments

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

  1. Install puppet7 on windows
  2. 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:

  1. Output of facter -p on the failing node (at least the OS related facts)
  2. Version of Puppet and of the module
  3. The relevant Puppet code and eventually Hiera data