Bug 1912704 - puppetlabs_repo snippet incorrectly references puppet release files as puppetlabs-release rather than puppet-release
Summary: puppetlabs_repo snippet incorrectly references puppet release files as puppet...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.0
Assignee: satellite6-bugs
QA Contact: Ondrej Gajdusek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-05 09:49 UTC by Tomer Brisker
Modified: 2021-04-21 13:25 UTC (History)
3 users (show)

Fixed In Version: foreman-2.3.1.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:25:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 31568 0 Low Closed puppetlabs_repo snippet incorrectly references puppet release files as puppetlabs-release rather than puppet-release 2021-02-11 11:09:30 UTC
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:25:18 UTC

Description Tomer Brisker 2021-01-05 09:49:28 UTC
the puppetlabs_repo snippet sets the repo URL to install the official puppet hosted rpm/deb repos based on the following pattern

<%= http_proxy %><%= http_port %> https://<%= repo_host %>/<%= repo_subdir %><%= repo_name %>-<%= repo_os %>-<%= os_major %>

repo_name is incorrectly referencing the legacy puppet labs naming and URL 'puppetlabs' which will cause the provisioning to fail to install puppet if certain host or global parameters are set.

Comment 1 Tomer Brisker 2021-01-05 09:49:34 UTC
Created from redmine issue https://projects.theforeman.org/issues/31568

Comment 2 Tomer Brisker 2021-01-05 09:49:37 UTC
Upstream bug assigned to None

Comment 4 Bryan Kearney 2021-01-05 16:25:16 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31568 has been resolved.

Comment 6 Ondrej Gajdusek 2021-02-12 15:11:51 UTC
VERIFIED using 6.9 snap 12.0

The template is now correctly generated using the correct URL.

Comment 9 errata-xmlrpc 2021-04-21 13:25:01 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 (Moderate: Satellite 6.9 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-2021:1313


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