puppetlabs-toy-chest / puppetlabs-puppetserver_gem

This module provides management of Ruby gems for Puppet Server.
3 stars 23 forks source link

(PUP-11452) Shell out to list packages in puppetserver_gem #37

Open jarretlavallee opened 2 years ago

jarretlavallee commented 2 years ago

Prior to this PR, the puppetserver_gem listed local packages using the GEM command line, which resulted in innacurate results if a gem was already loaded. This PR switches the listing of puppetserver gems to use the shell command.

This is a duplicate of https://github.com/puppetlabs/puppet/pull/8872 to allow users to adopt it prior to the puppet release.