Skip to content

Commit

Permalink
corrections to make bootstrap script actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmer authored and adngdb committed May 30, 2012
1 parent 54466da commit c1a5edb
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions puppet/ubuntu-bootstrap.sh
Expand Up @@ -6,7 +6,7 @@
# using Puppet and automatically install a full Socorro environment on it.
#

apt-get install git-core puppet rsync
apt-get update && apt-get install git-core puppet

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

Expand All @@ -15,15 +15,8 @@ mkdir /puppet
# Clone the project from github
useradd socorro
groupadd admin
su - socorro
mkdir dev
cd dev
git clone $GIT_REPO_URL socorro

# copy the files from the git checkout to /puppet
rsync -a /home/socorro/dev/socorro/puppet/ /puppet/
exit
su - socorro -c "mkdir -p dev && cd dev && git clone $GIT_REPO_URL socorro"

# Let puppet take it from here...
puppet /home/socorro/dev/puppet/manifests/*.pp
puppet /home/socorro/dev/socorro/puppet/manifests/init.pp

0 comments on commit c1a5edb

Please sign in to comment.