Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
- win32/process gem is no longer used anywhere within Puppet
-
Night's Watch
-
5
-
NW - 2020-07-08, NW - 2020-06-24, NW - 2020-07-21, NW - 2020-08-06, NW - 2020-08-18
-
Enhancement
-
Remove Puppet dependency on win32-process gem and implement the needed functionality using FFI.
-
Needs Assessment
Description
win32-process gem is no longer maintained and should be removed / replaced with FFI equivalents inside the Puppet.
win32/process is currently consumed explicitly in:
- https://github.com/puppetlabs/puppet/blob/ce5500dd660019b2be6d132b14f70baff4c553fa/ext/windows/service/daemon.rb
- https://github.com/puppetlabs/puppet/blob/3a5dfed0fef8fc5cb1b6ec168766115de3e8f23b/lib/puppet/util/windows/process.rb
- https://github.com/puppetlabs/puppet/blob/e39b265ef0b34644bb645b4f6674c257ddaa75fa/lib/puppet/type/exec.rb
- https://github.com/puppetlabs/puppet/blob/59f1bcfef7515cc4558ad038f8c9c6a515fe419e/install.rb
It is used implicitly at least in:
win32/process performs monkey patches to Rubys process execution and should be extricated carefully.
Another ticket will be added to remove the dependency from the .gemspec / Gemfile / puppet-agent packaging repos.