vagrant-lxc-ng/boxes/common/install-puppet
Laurent Vallar 9f7f1dd315 Add Debian wheezy/sid base box templates
Refactor boxes rake task

Create common directory for common installation scripts

Move Debian/Ubuntu common installation scripts
2013-04-25 17:54:54 +02:00

12 lines
349 B
Bash
Executable file

#!/bin/bash
cache=`readlink -f .`
rootfs="${cache}/rootfs"
echo "installing puppet"
wget http://apt.puppetlabs.com/puppetlabs-release-stable.deb -O "${rootfs}/tmp/puppetlabs-release-stable.deb"
chroot $rootfs dpkg -i "/tmp/puppetlabs-release-stable.deb"
chroot $rootfs apt-get update
chroot $rootfs apt-get install puppet -y
rm -rf $rootfs/tmp/*