Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #318: Introducing custom uninstall in sensu_gem
sensu_gem inherits the methods from its parent, gem.rb. The uninstall method in gem.rb contains a bug that prevents the right gem command from being issued. (/usr/bin/gem uninstall -x -a sensu-plugin is executed instead of /opt/sensu/embedded/bin/gem uninstall -x -a sensu-plugin). Issue PUP-4191 has been raised in the puppet project and PR #3708 has been opened in puppetlabs/puppet. As temporary workaround, we should overwrite the gem.rb uninstall method to use the execute function, which then issues the right gem command.
- Loading branch information