Skip to content

Commit

Permalink
changed sle legacy module
Browse files Browse the repository at this point in the history
  • Loading branch information
praj1001 committed Jul 28, 2023
1 parent 9436c0a commit f787789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manifests/mod/php.pp
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
if ($_package_name == 'apache2-mod_php7' 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
4 changes: 2 additions & 2 deletions spec/setup_acceptance_node.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
if (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',
}
}
# needed for netstat, for serverspec checks
Expand Down

0 comments on commit f787789

Please sign in to comment.