Skip to content

Commit 37b8df7

Browse files
committed
Remove temporary fix for testing
1 parent dc1b0fb commit 37b8df7

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

manifests/init.pp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,6 @@
110110
default => '--jre'
111111
}
112112

113-
# TEMPORARY FIX: If no repos are configured on SLES, add openSUSE Leap as fallback
114-
# This workaround is needed because GCP-provisioned SLES images are unregistered BYOS
115-
# without any package repositories configured. Remove this once proper PAYG images are used.
116-
if ($facts['os']['family'] in ['SLES', 'SUSE']) {
117-
exec { 'Configure zypper repo for SLES':
118-
path => '/bin:/usr/bin:/sbin:/usr/sbin',
119-
command => 'zypper --non-interactive --gpg-auto-import-keys ar http://download.opensuse.org/distribution/leap/15.6/repo/oss/ opensuse-leap-fallback && zypper --non-interactive --gpg-auto-import-keys refresh',
120-
unless => "zypper lr 2>/dev/null | grep -q 'opensuse-leap-fallback\\|http'",
121-
logoutput => true,
122-
}
123-
-> Package['java']
124-
}
125-
126113
if $facts['os']['family'] == 'Debian' {
127114
# Needed for update-java-alternatives
128115
package { 'java-common':

0 commit comments

Comments
 (0)