From cecfeb6591e4be3f68649fefe300e7d22468c21e Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 23 Jul 2018 20:18:59 -0400 Subject: [PATCH] Skip epel mirror if already setup There is no need to configure epel, if already installed when installing puppet. Change-Id: Ideba593a78a8017c3855548377193887183818b0 Signed-off-by: Paul Belanger --- install_puppet.sh | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/install_puppet.sh b/install_puppet.sh index 3f63dd511c..91013bc901 100755 --- a/install_puppet.sh +++ b/install_puppet.sh @@ -135,10 +135,14 @@ function setup_puppet_fedora { } function setup_puppet_rhel7 { - # install a bootstrap epel repo to install latest epel-release - # package (which provides correct gpg keys, etc); then remove - # boostrap - cat > /etc/yum.repos.d/epel-bootstrap.repo < /etc/yum.repos.d/epel-bootstrap.repo <