Skip to content

Commit 957b01f

Browse files
Add support for Ubuntu bionic distro.
1 parent bd43db1 commit 957b01f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ubuntu.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ set -e
1414
PUPPET_COLLECTION="-${PUPPET_COLLECTION}"
1515
[[ "${PUPPET_COLLECTION}" == "" ]] && PINST="puppet" || PINST="puppet-agent"
1616

17-
REPO_DEB_URL="http://apt.puppetlabs.com/puppetlabs-release${PUPPET_COLLECTION}-${DISTRIB_CODENAME}.deb"
17+
if [[ "${DISTRIB_CODENAME}" == 'bionic' ]]; then
18+
echo 'bionic'
19+
REPO_DEB_URL="http://apt.puppetlabs.com/puppet${PUPPET_VERSION}-release-${DISTRIB_CODENAME}.deb"
20+
echo $REPO_DEB_URL
21+
else
22+
REPO_DEB_URL="http://apt.puppetlabs.com/puppetlabs-release${PUPPET_COLLECTION}-${DISTRIB_CODENAME}.deb"
23+
fi
1824

1925
#--------------------------------------------------------------------
2026
# NO TUNABLES BELOW THIS POINT

0 commit comments

Comments
 (0)