Skip to content

Commit

Permalink
HACK - disable gpgcheck on el9
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Oct 28, 2023
1 parent 33e2997 commit 31eb4ba
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion manifests/repo/nodesource/yum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,21 @@
$module_hotfixes = undef
}

# THIS IS A HACK, DON'T MERGE WHILE THIS IS STILL IN PLACE
if $facts['os']['release']['major'] == '9' {
$gpgcheck = '0'
} else {
$gpgcheck = '1'
}
# FIXME: REMOVE ABOVE HACK

yumrepo { 'nodesource':
descr => $descr,
baseurl => $baseurl,
enabled => '1',
failovermethod => $yum_failovermethod,
gpgkey => 'file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL',
gpgcheck => '1',
gpgcheck => $gpgcheck,
module_hotfixes => $module_hotfixes,
priority => $priority,
proxy => $proxy,
Expand Down

0 comments on commit 31eb4ba

Please sign in to comment.