Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When using puppet-foreman_scap_client rpm as puppet-module and running "puppet agent -t" . configuration fails due to unavailable package.
[root@xxxx foreman_scap_client]# puppet agent -t
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Caching catalog for samsung.englab.pnq.redhat.com
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
(at /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:816:in `set_default')
Info: Applying configuration version '1424448382'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list foreman_scap_client' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Foreman_scap_client/Package[foreman_scap_client]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list foreman_scap_client' returned 1: Error: No matching Packages to list
Notice: /Stage[main]/Foreman_scap_client/File[foreman_scap_client]: Dependency Package[foreman_scap_client] has failures: true
Warning: /Stage[main]/Foreman_scap_client/File[foreman_scap_client]: Skipping because of failed dependencies
Notice: Finished catalog run in 1.83 seconds
Version-Release number of selected component (if applicable):
sat6.1 Beta snap3
How reproducible:
always
Shorts steps to reproduce:
1. run "puppet agent -t" on the provisioned client with foreman_scap_client puppet-class configured.
Steps to Reproduce:
1. convert puppet-foreman_scap_client rpm to puppet-module by running
"puppet module build" in /usr/share/puppet/modules/foreman_scap_client dir
after installing the puppet-foreman_scap_client rpm.
2. create a puppet-repo and import this module
3. create cv, publish , promote
4. associate the puppet-class to a host
5. run "puppet agent -t" on the provisioned client with foreman_scap_client puppet-class configured.
Actual results:
Error: No matching Packages to list
Expected results:
puppet agent run should succeed.
Additional info:
And probably the package we are looking for is rubygem-foreman_scap_client and not just foreman_scap_client.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2015:1592