Update the release rpm location

The release rpms have been moved to the top level of yum.puppet.com

See
https://groups.google.com/forum/#!msg/puppet-users/cCsGWKunBe4/OdG0T7LeDAAJ

Change-Id: I43969b98a00fc2a4601119fd7d90ca1a29f537b1
This commit is contained in:
Alex Schultz 2019-05-15 15:39:16 -06:00
parent ed4b1af4d1
commit acc593c74c

View File

@ -121,7 +121,7 @@
export YUM=yum
fi
if [[ -f /usr/bin/yum || -f /usr/bin/dnf ]]; then
$YUM install -y https://yum.puppetlabs.com/puppet5/puppet5-release-el-7.noarch.rpm
$YUM install -y https://yum.puppetlabs.com/puppet5-release-el-7.noarch.rpm
$YUM install -y puppet-agent
elif [ -f /usr/bin/apt-get ]; then
wget https://apt.puppetlabs.com/puppet5-release-{{ ansible_distribution_release }}.deb -O /tmp/puppet.deb