boxes: Skip puppet installation on Ubuntu Trusty as it is not supported ATM
This commit is contained in:
parent
cd23804046
commit
3ff6046228
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ fi
|
||||||
if [ $PUPPET = 1 ]; then
|
if [ $PUPPET = 1 ]; then
|
||||||
if $(lxc-attach -n ${CONTAINER} -- which puppet &>/dev/null); then
|
if $(lxc-attach -n ${CONTAINER} -- which puppet &>/dev/null); then
|
||||||
log "Puppet has been installed on container, skipping"
|
log "Puppet has been installed on container, skipping"
|
||||||
|
elif [ ${RELEASE} = 'trusty' ]; then
|
||||||
|
warn "Puppet can't be installed on Ubuntu Trusty 14.04, 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"
|
wget http://apt.puppetlabs.com/puppetlabs-release-stable.deb -O "${ROOTFS}/tmp/puppetlabs-release-stable.deb"
|
||||||
|
|
Loading…
Reference in a new issue