Commit c375c5a
(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:
puppetlabs/puppet#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.1 parent 9f66243 commit c375c5a
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 210 | + | |
| 211 | + | |
214 | 212 | | |
215 | 213 | | |
216 | 214 | | |
0 commit comments