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 831f4b8 commit 75ab5d3
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 75ab5d3

Please sign in to comment.