From f9c75f7e62642376ad3a84d2dd111e183f772e7e Mon Sep 17 00:00:00 2001 From: Ramy Asselin Date: Mon, 6 Feb 2017 11:14:06 -0800 Subject: [PATCH] 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 --- install_puppet.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_puppet.sh b/install_puppet.sh index ae70683613..f934e97b8d 100755 --- a/install_puppet.sh +++ b/install_puppet.sh @@ -145,9 +145,10 @@ EOF yum update -y # 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 + yum install -y puppet # see comments in setup_puppet_fedora ln -s /usr/bin/pip /usr/bin/pip-python