HomeSoftware Heritage

(PUP-10653) Remove win32/dir constant usage

Description

(PUP-10653) Remove win32/dir constant usage

For Puppet 7 we are dropping the win32/dir dependency as we only used
constants from it, which we replaced with environment variables (see:
https://github.com/puppetlabs/puppet/pull/8314).

This would become breaking when using the stdlib module with Puppet 7,
as the win32 dependencies are no longer provided in the puppet gem.

Replace the usage of the Dir::COMMON_APPDATA with the
ALLUSERSPROFILE environment variable.

Details

Provenance
Gabriel Nagy <gabriel.nagy@puppet.com>Authored on Sep 10 2020, 2:45 PM
olasdPushed on Oct 13 2020, 3:46 PM
Parents
rSPSTDdd0d71d9d2cb: Merge pull request #1124 from puppetlabs/release
Branches
Unknown
Tags
Unknown

Event Timeline

Gabriel Nagy <gabriel.nagy@puppet.com> committed rSPSTD2ed74a3f294a: (PUP-10653) Remove win32/dir constant usage (authored by Gabriel Nagy <gabriel.nagy@puppet.com>).Sep 10 2020, 2:45 PM