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.
Bug 2104247 - [RFE] version non-specific flag to enable puppet on Red Hat Satellite.
Summary: [RFE] version non-specific flag to enable puppet on Red Hat Satellite.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Puppet
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.13.0
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-05 19:14 UTC by Mohit Kushwah
Modified: 2023-05-03 13:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 13:21:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35066 0 Normal Closed Puppet enablement flags are inconsistent 2022-08-23 08:39:54 UTC
Red Hat Issue Tracker SAT-14686 0 None None None 2023-01-05 07:07:04 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:22:01 UTC

Comment 2 Bryan Kearney 2022-08-23 12:04:59 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35066 has been resolved.

Comment 7 Gaurav Talreja 2023-02-03 16:53:01 UTC
Verified.

Tested on Satellite 6.13.0 Snap 9.0
Version: foreman-3.5.1.5-1.el8sat.noarch

Steps:
1. Setup Satellite 6.13.0, sync kickstart/OS repos, and configure provisioning
2. Create a host with either global or host param "enable-puppetlabs-repo" and activation_key
# hammer global-parameter list
-----------------------------------|-------|--------
NAME                               | VALUE | TYPE
-----------------------------------|-------|--------
ansible_roles_check_mode           | false | boolean
enable-epel                        | false | string
enable-puppetlabs-repo             | true  | string
host_packages                      |       | string
host_registration_insights         | true  | boolean
host_registration_remote_execution | true  | boolean
-----------------------------------|-------|--------

3. After host is created, check install.post.log
# cat install.post.log
...
Retrieving https://yum.puppet.com/puppet-release-el-8.noarch.rpm
Verifying...                          ########################################
Preparing...                          ########################################
Updating / installing...
puppet-release-1.0.0-24.el8           ########################################
Updating Subscription Management repositories.
Puppet Repository el 8 - x86_64                  27 MB/s |  14 MB     00:00
fake_yum1                                        75 kB/s | 2.3 kB     00:00
fake_yum2                                        89 kB/s | 2.3 kB     00:00
client_el8                                       90 kB/s | 2.3 kB     00:00
multi_errata                                     72 kB/s | 2.0 kB     00:00
fake_yum0                                        89 kB/s | 2.3 kB     00:00
fake_yum4                                        74 kB/s | 2.0 kB     00:00
fake_yum3                                        74 kB/s | 2.0 kB     00:00
needed_errata                                    75 kB/s | 2.0 kB     00:00
Dependencies resolved.
================================================================================
 Package              Architecture   Version               Repository      Size
================================================================================
Installing:
 puppet-agent         x86_64         7.21.0-1.el8          puppet          24 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 24 M
Installed size: 105 M
Downloading Packages:
puppet-agent-7.21.0-1.el8.x86_64.rpm             88 MB/s |  24 MB     00:00
--------------------------------------------------------------------------------
...

Observation:
When using `enable-puppetlabs-repo` host_param, which is a new non-version specific flag to enable puppet, and here puppet.conf snippet resolves this and installs the puppet-agent package from the puppet-release repo instead of the Satellite client repository.


@ekohlwan Thank you for confirming and helping me understand this RFE

Comment 10 errata-xmlrpc 2023-05-03 13:21:28 UTC
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 (Important: Satellite 6.13 Release), 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-2023:2097


Note You need to log in before you can comment on or make changes to this bug.