From 9635e7b7cb96a143add0537b3b3f71030eae6a7f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 22 Feb 2017 22:37:07 +0100 Subject: [PATCH] Add support for openSUSE Leap openSUSE Leap ships puppet 3.x by default, so no need for a clumsy unmaintained 3rd party repo. Change-Id: I9b8fe7a229ad48fc86c1f299d81d3094c378ef41 --- install_puppet.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/install_puppet.sh b/install_puppet.sh index ae70683613..775fda6896 100755 --- a/install_puppet.sh +++ b/install_puppet.sh @@ -214,10 +214,7 @@ EOF } function setup_puppet_opensuse { - local version=`grep -e "VERSION_ID" /etc/os-release | tr -d "\"" | cut -d "=" -f2` - zypper ar http://download.opensuse.org/repositories/systemsmanagement:/puppet/openSUSE_${version}/systemsmanagement:puppet.repo - zypper -v --gpg-auto-import-keys --no-gpg-checks -n ref - zypper --non-interactive in --force-resolution puppet + zypper -n in --force-resolution puppet # Wipe out templatedir so we don't get warnings about it sed -i '/templatedir/d' /etc/puppet/puppet.conf }