CentOS: Remove RPM-GPG-KEY-puppetlabs
The file is no longer available in yum.puppetlabs.com . Change-Id: Iac9994910c86396674dfdc0f266d848f4fbdfa0c
This commit is contained in:
parent
3956da6b29
commit
ecf6fb5d33
@ -192,15 +192,13 @@ install_puppetlabs_repo() {
|
|||||||
$SUDO apt-get update
|
$SUDO apt-get update
|
||||||
elif is_fedora; then
|
elif is_fedora; then
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
$SUDO rpm --import ${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppetlabs
|
|
||||||
$SUDO rpm --import ${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppet
|
$SUDO rpm --import ${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppet
|
||||||
$SUDO rpm --import ${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppet-20250406
|
$SUDO rpm --import ${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppet-20250406
|
||||||
$SUDO bash -c "cat << EOF > /etc/yum.repos.d/puppetlabs.repo
|
$SUDO bash -c "cat << EOF > /etc/yum.repos.d/puppetlabs.repo
|
||||||
[puppetlabs-products]
|
[puppetlabs-products]
|
||||||
name=Puppet Labs Products El ${VERSION_ID} - x86_64
|
name=Puppet Labs Products El ${VERSION_ID} - x86_64
|
||||||
baseurl=${NODEPOOL_PUPPETLABS_MIRROR}/puppet${PUPPET_MAJ_VERSION}/el/${VERSION_ID}/x86_64/
|
baseurl=${NODEPOOL_PUPPETLABS_MIRROR}/puppet${PUPPET_MAJ_VERSION}/el/${VERSION_ID}/x86_64/
|
||||||
gpgkey=${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppetlabs
|
gpgkey=${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppet
|
||||||
${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppet
|
|
||||||
${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppet-20250406
|
${NODEPOOL_PUPPETLABS_MIRROR}/RPM-GPG-KEY-puppet-20250406
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
Loading…
Reference in New Issue
Block a user