Issue #16790 has been updated by Dominic Cleal.
I'm not convinced that changing this to shell out to yum is a better solution. It was introduced in #836 in order to fix problems with shelling out to yum commands from a provider - so if this is being changed, you're going to have to ensure those problems aren't hit again, or the cure will be worse than the disease. The Python helper will call the yum library directly (the shell out code is only for ancient versions), so it's not susceptible to changes in the yum check-updates/list output over a large number of yum releases. ---------------------------------------- Refactor #16790: Rubyize yumhelper.py to remove dependency on python https://projects.puppetlabs.com/issues/16790#change-80600 Author: Alex Cline Status: In Topic Branch Pending Review Priority: Normal Assignee: Category: package Target version: Affected Puppet version: Keywords: Branch: https://github.com/puppetlabs/puppet/pull/1205 There are several bugs (bug 11380 being one that triggered this patch) that highlight the fact that the version of python used as the default on a system running puppet can break yumhelper.py. This refactor removes yumhelper.py and moves the functionality into the Yum provider in puppet. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
