Merge pull request #19 from nicobrevin/fix-puppetlabs-apt-url

Fix puppetlabs apt url
This commit is contained in:
Michael Adam 2016-08-15 14:18:16 +02:00 committed by GitHub
commit 39afec9dcd

View file

@ -76,7 +76,7 @@ if [ $PUPPET = 1 ]; then
warn "Puppet can't be installed on Debian sid, skipping" warn "Puppet can't be installed on Debian sid, skipping"
else else
log "Installing Puppet" log "Installing Puppet"
wget http://apt.puppetlabs.com/puppetlabs-release-stable.deb -O "${ROOTFS}/tmp/puppetlabs-release-stable.deb" &>>${LOG} wget http://apt.puppetlabs.com/puppetlabs-release-${RELEASE}.deb -O "${ROOTFS}/tmp/puppetlabs-release-stable.deb" &>>${LOG}
utils.lxc.attach dpkg -i "/tmp/puppetlabs-release-stable.deb" utils.lxc.attach dpkg -i "/tmp/puppetlabs-release-stable.deb"
utils.lxc.attach apt-get update utils.lxc.attach apt-get update
utils.lxc.attach apt-get install puppet -y --force-yes utils.lxc.attach apt-get install puppet -y --force-yes