boxes: Skip puppet installation on Ubuntu Trusty as it is not supported ATM

This commit is contained in:
Fabio Rehm 2014-03-09 17:20:55 -03:00
parent cd23804046
commit 3ff6046228

View file

@ -39,6 +39,8 @@ fi
if [ $PUPPET = 1 ]; then
if $(lxc-attach -n ${CONTAINER} -- which puppet &>/dev/null); then
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
log "Installing Puppet"
wget http://apt.puppetlabs.com/puppetlabs-release-stable.deb -O "${ROOTFS}/tmp/puppetlabs-release-stable.deb"