From c0d7b01066489164bdca7415ae94801be4131dfc Mon Sep 17 00:00:00 2001 From: Evan Stachowiak Date: Fri, 10 May 2019 15:40:16 +0200 Subject: [PATCH] Add support for Ubuntu bionic distro --- ubuntu.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ubuntu.sh b/ubuntu.sh index 699fb7c..9fa1ea6 100755 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -14,7 +14,11 @@ set -e PUPPET_COLLECTION="-${PUPPET_COLLECTION}" [[ "${PUPPET_COLLECTION}" == "" ]] && PINST="puppet" || PINST="puppet-agent" -REPO_DEB_URL="http://apt.puppetlabs.com/puppetlabs-release${PUPPET_COLLECTION}-${DISTRIB_CODENAME}.deb" +if [[ "${DISTRIB_CODENAME}" == 'bionic' ]]; then + REPO_DEB_URL="http://apt.puppetlabs.com/puppet${PUPPET_VERSION}-release-${DISTRIB_CODENAME}.deb" +else + REPO_DEB_URL="http://apt.puppetlabs.com/puppetlabs-release${PUPPET_COLLECTION}-${DISTRIB_CODENAME}.deb" +fi #-------------------------------------------------------------------- # NO TUNABLES BELOW THIS POINT