Home

Awesome

kickstart-baseline

Bash installation script for developer environments

This is a rewrite of the Puppet recipes from vagrant-baseline to be used with kickstart. It uses some utilities from kickstart, and it is the only requirement that prevents those bash scripts from running standalone on any machine.

On recipes you will find scripts that are shared among some different roles, like compiler and libs packages and so on. On roles you will find the scripts to setup the different environments that baseline provides. On files is the files that will be copied and modified sometimes on the target.

Requirements

Instalation and usage

git clone https://github.com/bltavares/kickstart-baseline.git
cd kickstart-baseline

# Point to a machine
kickstart deploy "-p 2222 root@docker" nodejs

# Or deploy locally
kickstart local nodejs

Current environments

NameProvidesWorks on MacExtra information
clojurelein latest stable versionincludes java role
dockerlatest from docker.iox
elixir0.11.2includes latest erlang
erlanglatest from erlang-solutions.com
go1.2.0
gradle1.9Includes java role
groovy2.2.1Includes java role
haskellhaskell-platform from ubuntu's repo
ioLatest io deb from io website
java7 + maven 3.1.1 + ant 1.9.3
lua5.2 + luarocks
mongolatest from 10_gen repoport: 27017
nodejslatest from ppa:chris.lea
postgresql9.3 + devel packageusername: postgres password: postgres
prologlatest from ppa:swi-prolog/stable
python2.7 + pip and virtualenv
rabbitmqlatest from official apt repoport: 5672
racket5.02 (January 2014)
redisfrom ppa:chris.leaport: 6379
rubychruby + ruby 2.0
ruby193chruby + ruby 1.9.3
rust0.8
scala2.10.3 + sbt 0.13.0Includes java role
smlsmlnj 110.76
toolseditors, version control, and others
zeromq4.0.3

About Mac setup

The environments are basically using the homebrew versions provided.

Tested on:

Caveates

Example outputs

$ kickstart local nodejs
Setting up Mac
Mac >> Running "brew update -y"
Mac >> Running "brew upgrade -y"
Mac >> brew command outputs will be suppressed. Check "brew info <package_name>" for caveats
Setting up nodejs
nodejs >> nodejs already installed
Done
vagrant@nodejs:/opt/kickstart-baseline$ kickstart docker-create
[......]
For deploy: kickstart deploy "-p 2344 root@localhost" [roles]
vagrant@nodejs:/opt/kickstart-baseline$ kickstart deploy "-p 2344 root@localhost" nodejs
Setting up Ubuntu
Ubuntu >> Running "apt-get update -y"
Ubuntu >> Running "apt-get upgrade -y"
Ubuntu >> software-properties-common python-software-properties already installed
Ubuntu >> Check for presence of universe or add it
Ubuntu >> Running "apt-get update -y"
Ubuntu >> Running "apt-get upgrade -y"
Setting up nodejs
nodejs >> Running "add-apt-repository -y ppa:chris-lea/node.js"
nodejs >> Running "apt-get update -y"
nodejs >> nodejs already installed
Done

Debug

To debug, prepend the command with DEBUG=1

DEBUG=1 kickstart local nodejs