Skip to content

Commit d4b252b

Browse files
authored
Merge pull request #1613 from puppetlabs/CAT-2052
(CAT-2052) Bump SLES-15 package/product versions
2 parents 05a7809 + 8310708 commit d4b252b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/globals.pp

+1-1
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

+2-2
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)