Skip to content

Commit 77fd8aa

Browse files
authored
Merge pull request #1453 from puppetlabs/CONT-1180-fix-build-failure-suse
(CONT-1180) - Fixing build failures caused by SUSE 15 SP4
2 parents 795a202 + 1854bf5 commit 77fd8aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/spec_helper_acceptance_local.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ def install_dependencies
4646
4747
# needed for netstat, for serverspec checks
4848
if $facts['os']['family'] in ['SLES', 'SUSE'] {
49+
exec { 'Enable legacy repos':
50+
path => '/bin:/usr/bin/:/sbin:/usr/sbin',
51+
command => 'SUSEConnect --product sle-module-legacy/15.4/x86_64',
52+
unless => 'SUSEConnect --status-text | grep sle-module-legacy/15.4/x86_64',
53+
}
54+
4955
package { 'net-tools-deprecated':
5056
ensure => 'latest',
5157
}

0 commit comments

Comments
 (0)