Skip to content

Commit

Permalink
Merge pull request #570 from puppetlabs/CAT-1250-update_SUSE_repo_name
Browse files Browse the repository at this point in the history
(CAT-1250)-updating legacy SUSE repo name
  • Loading branch information
Ramesh7 authored Jul 27, 2023
2 parents 313944d + 7322c15 commit 04771d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
if ($facts['os']['family'] in ['SLES', 'SUSE']) and (versioncmp($facts['os']['release']['major'], '15') >= 0 and versioncmp($facts['os']['release']['minor'], '3') == 1) {
exec { 'Enable legacy repos':
path => '/bin:/usr/bin/:/sbin:/usr/sbin',
command => 'SUSEConnect --product sle-module-legacy/15.4/x86_64',
unless => 'SUSEConnect --status-text | grep sle-module-legacy/15.4/x86_64',
command => 'SUSEConnect --product sle-module-legacy/15.5/x86_64',
unless => 'SUSEConnect --status-text | grep sle-module-legacy/15.5/x86_64',
}
}

Expand Down

0 comments on commit 04771d3

Please # to comment.