Skip to content

Commit

Permalink
Add support for Ubuntu bionic distro.
Browse files Browse the repository at this point in the history
  • Loading branch information
evanstachowiak committed May 10, 2019
1 parent bd43db1 commit 957b01f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ 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
echo 'bionic'
REPO_DEB_URL="http://apt.puppetlabs.com/puppet${PUPPET_VERSION}-release-${DISTRIB_CODENAME}.deb"
echo $REPO_DEB_URL
else
REPO_DEB_URL="http://apt.puppetlabs.com/puppetlabs-release${PUPPET_COLLECTION}-${DISTRIB_CODENAME}.deb"
fi

#--------------------------------------------------------------------
# NO TUNABLES BELOW THIS POINT
Expand Down

0 comments on commit 957b01f

Please sign in to comment.