puppet/ubuntu-bootstrap.sh
author Ed Morley <emorley@mozilla.com>
Wed, 29 Apr 2015 23:02:40 +0100
changeset 1520 8aff676182f9135bbf0698bebbec23d2dd2f4570
parent 764 5ecd437e9ba4b9b2f1444ab42ca5001884525324
permissions -rw-r--r--
Bug 1054977 - Mention TBPL EOL in README

#!/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 Socorro environment on it.
#

apt-get install git-core puppet

GIT_REPO_URL="git://github.com/mozilla/tbpl.git"

# Clone the project from github
useradd tbpl
mkdir /var/www/tbpl
chown tbpl:tbpl /var/www/tbpl
su - tbpl
cd /var/www/
git clone $GIT_REPO_URL tbpl
exit

# Let puppet take it from here...
puppet /var/www/tbpl/puppet/manifests/*.pp