2013-04-22 00:31:22 +00:00
|
|
|
#!/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
|
2013-05-06 19:09:45 +00:00
|
|
|
chroot $rootfs apt-get install puppet -y --force-yes
|
2013-04-22 00:31:22 +00:00
|
|
|
|
|
|
|
rm -rf $rootfs/tmp/*
|