etherpad-lite/vagrant/puppet/ubuntu-bootstrap.sh
2012-03-26 12:57:55 -07:00

24 lines
533 B
Bash

#!/bin/bash
#
# Quick bootstrap script for an Ubuntu Lucid host
#
# This allows you to bootstrap any Lucid box (VM, physical hardware, etc)
# using Puppet and automatically install a full Etherpad environment on it.
#
apt-get install git-core puppet rsync
GIT_REPO_URL="git://github.com/rhelmer/etherpad-lite.git"
mkdir /puppet
# Clone the project from github
useradd etherpad
su - etherpad
mkdir dev
cd dev
git clone $GIT_REPO_URL etherpad
exit
# Let puppet take it from here...
puppet /home/etherpad/dev/puppet/manifests/*.pp