Bug 1751385

Summary: Wrong path to gem in puppet_gem.rb
Product: [Fedora] Fedora Reporter: Lucien Weller <lucien>
Component: puppetAssignee: Sam Kottler <s>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: athmanem, lutter, s, terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-5.5.10-6.fc31 puppet-5.5.10-6.fc30 puppet-5.5.10-6.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-18 00:03:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lucien Weller 2019-09-11 21:18:28 UTC
Description of problem:


Version-Release number of selected component (if applicable):
5.5.10-4

How reproducible:


Steps to Reproduce:
1. run following command (as privileged user)
puppet apply -e "package {'hiera-eyaml': provider => 'puppet_gem', ensure => 'present'}"

Actual results:
Error: /Stage[main]/Main/Package[hiera-eyaml]: Provider puppet_gem is not functional on this host

Expected results:
Installation of hiera-eyaml

Additional info:

The cause is an incorrect path to gem binary in /usr/share/ruby/vendor_ruby/puppet/provider/package/puppet_gem.rb

Work around: create following symlink.

ln -s /usr/bin/gem /opt/puppetlabs/puppet/bin/gem

Comment 1 Lucien Weller 2019-09-12 05:38:38 UTC
Opened a new PR to fix the problem (see https://src.fedoraproject.org/rpms/puppet/pull-request/8).

Comment 2 Fedora Update System 2019-09-12 16:35:08 UTC
FEDORA-2019-91448019e4 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-91448019e4

Comment 3 Fedora Update System 2019-09-12 16:35:12 UTC
FEDORA-2019-4bc595eba5 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4bc595eba5

Comment 4 Fedora Update System 2019-09-12 21:00:04 UTC
puppet-5.5.10-6.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c0aa7ad02a

Comment 5 Fedora Update System 2019-09-12 22:39:37 UTC
puppet-5.5.10-6.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4bc595eba5

Comment 6 Fedora Update System 2019-09-14 01:39:54 UTC
puppet-5.5.10-6.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-91448019e4

Comment 7 Fedora Update System 2019-09-18 00:03:02 UTC
puppet-5.5.10-6.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2019-09-20 01:22:05 UTC
puppet-5.5.10-6.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2019-09-20 01:33:46 UTC
puppet-5.5.10-6.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.