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 30, 2023
1 parent 9b93e67 commit c505176
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 @@ -28,13 +28,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 => 'Node.js Packages - $basearch',
baseurl => "https://rpm.nodesource.com/pub_${url_suffix}/nodistro/nodejs/\$basearch",
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 c505176

Please sign in to comment.