Skip to content

Commit

Permalink
Only support LTS releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Oct 22, 2012
1 parent d861c80 commit 5d309e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
16 changes: 7 additions & 9 deletions bootstrap/bootstrap.sh
@@ -1,10 +1,10 @@
#!/bin/bash

# ruby-stack - Install Ruby and friends.
# Author: Francesc Esplugas <http://francescesplugas.com/>
# Bootstrap an ubuntu server
# Author: Victor Castell <http://francescesplugas.com/>
# Based on work by: Francesc Esplugas <http://francescesplugas.com/>
# License: MIT-LICENSE
#
# DON'T CHANGE THIS FILE UNLESS YOU KNOW WHAT YOU'RE DOING!

##############################################################################
# Abort on any error.
Expand All @@ -26,18 +26,13 @@ then
wget https://raw.github.com/seasonlabs/provizioning/master/bootstrap/lucid.sources.list -O sources.list
fi

if [ "$var" == "Ubuntu 11.04 \n \l" ]
then
wget https://raw.github.com/seasonlabs/provizioning/master/bootstrap/natty.sources.list -O sources.list
fi

if [ "$var" == "Ubuntu 12.04 \n \l" ]
then
wget https://raw.github.com/seasonlabs/provizioning/master/bootstrap/precise.sources.list -O sources.list
fi

export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y update
apt-get -y upgrade

##############################################################################
Expand Down Expand Up @@ -77,7 +72,10 @@ fi
# Cleanup the installation
apt-get -y autoremove

##############################################################################
# Install Puppet
##############################################################################

gem install puppet --no-ri --no-rdoc
puppet resource group puppet ensure=present
puppet resource user puppet ensure=present gid=puppet shell='/sbin/nologin'
Expand Down
13 changes: 0 additions & 13 deletions bootstrap/natty.sources.list

This file was deleted.

0 comments on commit 5d309e7

Please sign in to comment.