Install puppet after the rpm is set on centos 7

With the current code, I get puppet version 3.6.2 installed.
 puppet noarch  3.6.2-3.el7  epel                 1.2 M

With this change I get new puppet 3.8.7 installed.
 puppet noarch  3.8.7-1.el7  puppetlabs-products  1.5 M

Change-Id: I680a7630986cf7a2b4989a3e853ddb409b228cea
This commit is contained in:
Ramy Asselin 2017-02-06 11:14:06 -08:00
parent da124b0f58
commit f9c75f7e62

View File

@ -145,9 +145,10 @@ EOF
yum update -y yum update -y
# NOTE: we preinstall lsb_release to ensure facter sets lsbdistcodename # NOTE: we preinstall lsb_release to ensure facter sets lsbdistcodename
yum install -y redhat-lsb-core git puppet yum install -y redhat-lsb-core git
rpm -ivh $puppet_pkg rpm -ivh $puppet_pkg
yum install -y puppet
# see comments in setup_puppet_fedora # see comments in setup_puppet_fedora
ln -s /usr/bin/pip /usr/bin/pip-python ln -s /usr/bin/pip /usr/bin/pip-python