<commit_before>#!/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 rsync

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

mkdir /puppet

# Clone the project from github
useradd socorro
su - socorro
mkdir dev
cd dev
git clone $GIT_REPO_URL socorro

# copy the files from the git checkout to /puppet
rsync -a ./socorro/puppet/ /puppet/
exit

# Let puppet take it from here...
puppet /home/socorro/dev/puppet/manifests/*.pp
<commit_msg>(no bug) minor fix to ubuntu bootstrap script<commit_after>#!/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 rsync

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

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

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

{'fraction_non_alphanumeric': 0.0853932584269663, 'fraction_numerical': 0.0, 'mean_word_length': 4.0606060606060606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4708666', 'n_tokens_mistral': 494, 'n_tokens_neox': 443, 'n_words': 167}