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
This commit is contained in:
parent
47d5314b47
commit
9635e7b7cb
@ -214,10 +214,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setup_puppet_opensuse {
|
function setup_puppet_opensuse {
|
||||||
local version=`grep -e "VERSION_ID" /etc/os-release | tr -d "\"" | cut -d "=" -f2`
|
zypper -n in --force-resolution puppet
|
||||||
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
|
|
||||||
# Wipe out templatedir so we don't get warnings about it
|
# Wipe out templatedir so we don't get warnings about it
|
||||||
sed -i '/templatedir/d' /etc/puppet/puppet.conf
|
sed -i '/templatedir/d' /etc/puppet/puppet.conf
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user