pcfens/puppet-filebeat

Allow powershell module 6.0.0?

Opened this issue · 0 comments

Would it be possible to allow for the powershell module to have a higher version as the current limit of < 6.0.0?

This is the changelog of 6.0.0:
https://forge.puppet.com/modules/puppetlabs/powershell/changelog#v600-2023-04-24

It will add puppet 8 and drop puppet 6 compatibility for the powershell module. However, I don't see anything else that would break in this filebeat module, I checked the code and most seems to be just using powershell as exec provider on windows systems, which would be fine.

The downside:

  • if puppet <7 environments would not limit the powershell module to < 6.0.0 in their puppetfile, an incompatible version might be installed with a higher or no upper boundary, which would not work on puppet 6 based systems if they use windows and need powershell exec support

The upside:

  • the powershell dependency of < 6.0.0 currently blocks me trying to achieve puppet 8/stdlib >= 9 compatibility in my linux only environments, this change would allow me upgrading further
  • this module could be used with both puppet 6 and higher versions