Skip to content

Commit

Permalink
Change Puppet repo for Bionic
Browse files Browse the repository at this point in the history
Puppet 5 for Bionic is now released and we don't need
to run the nightly puppet5 builds anymore.

Change-Id: If91bd851f3f67813cc44064be01290b9bd617cbb
  • Loading branch information
Tobias Urdin committed Jul 27, 2018
1 parent 476c9b7 commit 2daefe4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions functions
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,9 @@ install_puppet() {
local PUPPET_APT_POOL="puppet5"
fi
PUPPET_CODENAME=$(lsb_release -s -c)
# TODO(tobasco): Remove this when Puppet 5 is released for Bionic i.e not nightly build.
if [ $PUPPET_CODENAME == "bionic" ]; then
# For some reason this directory does not exist in Bionic
$SUDO mkdir -p /etc/apt/sources.list.d
NODEPOOL_PUPPETLABS_MIRROR="https://nightlies.puppet.com/apt"
PUPPET_APT_POOL="puppet5-nightly"
fi
echo "deb ${NODEPOOL_PUPPETLABS_MIRROR} ${PUPPET_CODENAME} ${PUPPET_APT_POOL}" | $SUDO tee /etc/apt/sources.list.d/puppetlabs.list
$SUDO apt-key add files/GPG-KEY-puppetlabs
Expand Down

0 comments on commit 2daefe4

Please sign in to comment.