voxpupuli/puppet-archive

Extract .zip using PowerShell (native) as alternative to 7-zip

Closed this issue ยท 2 comments

I would like to add support to extract .zip using PowerShell (the native .zip). This can be supported only from 2008+, where .zip extraction is supported.

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.0.5
  • Ruby: ruby 2.0.0p648
  • Distribution: 6.10
  • Module version: latest

How to reproduce (e.g Puppet code you use)

Use archive on windows without capability to install 7-zip.

What are you seeing

TODO:

What behaviour did you expect instead

TODO:

Output log

TODO:

Any additional information you'd like to impart

TODO:

Looking at this commit it seems to be included:

9b808ad

But for Windows 2012 and higher. 7zip is still the preferred unzipper (according to the code).

Looks good to me ๐Ÿ‘