13 lines
332 B
Bash
Executable file
13 lines
332 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
rootfs=$1
|
|
|
|
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 --force-yes
|
|
|
|
rm -rf $rootfs/tmp/*
|