Skip to content

Commit 8310708

Browse files
(CAT-2052) Bump SLES-15 package/product versions
- sles-legacy 15.5 version is no longer available in the default repos. Use the os.distro.release.full fact so that we don't have to bump the manually in the future. - Bump postgresql-server version from 14 to 16 since 14 is no longer available in the default repos.
1 parent 05a7809 commit 8310708

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/globals.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
/12\.0/ => '93',
237237
/12\.[1-3]/ => '94',
238238
/12\.[4-5]/ => '12',
239-
/15\.[0-9]/ => '14',
239+
/15\.[0-9]/ => '16',
240240
default => '96',
241241
},
242242
'OpenSuSE' => $facts['os']['release']['full'] ? {

spec/spec_helper_acceptance_local.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def install_dependencies
4646
if $facts['os']['family'] in ['SLES', 'SUSE'] {
4747
exec { 'Enable legacy repos':
4848
path => '/bin:/usr/bin/:/sbin:/usr/sbin',
49-
command => 'SUSEConnect --product sle-module-legacy/15.5/x86_64',
50-
unless => 'SUSEConnect --status-text | grep sle-module-legacy/15.5/x86_64',
49+
command => "SUSEConnect --product sle-module-legacy/${$facts['os']['distro']['release']['full']}/x86_64",
50+
unless => "SUSEConnect --status-text | grep sle-module-legacy/${$facts['os']['distro']['release']['full']}/x86_64",
5151
}
5252
5353
package { 'net-tools-deprecated':

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy