GitXplorerGitXplorer
b

kickstart-baseline

public
9 stars
5 forks
1 issues

Commits

List of commits on branch master.
Unverified
e0ed2e6868a0bcaab5f342d005fe380d74cab610

Dont let apt cache to get stale

bbltavares committed 10 years ago
Unverified
4530abcddf434cd208a9bf3bf49ff829afb0092d

Typo on streaming the file

bbltavares committed 10 years ago
Unverified
1a326cef9d3cf28a9f35d3489b82703b864108c9

Add curl and cache updates

bbltavares committed 10 years ago
Unverified
dd5938d4d6d8b320ad3f2fc438e2f0de66b9b2cf

Update Go version

bbltavares committed 10 years ago
Unverified
18a7af9db64777b285a1bedd3c4c4b8e169d42f2

Bump Maven and Ant

bbltavares committed 10 years ago
Unverified
f58e3075a4277a4c7e13bcbb342ead1b08dc8da7

Use the archive website so things dont break when the version is not bumped

bbltavares committed 10 years ago

README

The README file for this repository.

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

Name Provides Works on Mac Extra information
clojure lein latest stable version includes java role
docker latest from docker.io x
elixir 0.11.2 includes latest erlang
erlang latest from erlang-solutions.com
go 1.2.0
gradle 1.9 Includes java role
groovy 2.2.1 Includes java role
haskell haskell-platform from ubuntu's repo
io Latest io deb from io website
java 7 + maven 3.1.1 + ant 1.9.3
lua 5.2 + luarocks
mongo latest from 10_gen repo port: 27017
nodejs latest from ppa:chris.lea
postgresql 9.3 + devel package username: postgres password: postgres
prolog latest from ppa:swi-prolog/stable
python 2.7 + pip and virtualenv
rabbitmq latest from official apt repo port: 5672
racket 5.02 (January 2014)
redis from ppa:chris.lea port: 6379
ruby chruby + ruby 2.0
ruby193 chruby + ruby 1.9.3
rust 0.8
scala 2.10.3 + sbt 0.13.0 Includes java role
sml smlnj 110.76
tools editors, version control, and others
zeromq 4.0.3

About Mac setup

The environments are basically using the homebrew versions provided.

Tested on:

  • Ubuntu
  • Docker
  • Mac

Caveates

  • vagrant role should be passed before docker to put vagrant user into docker group.

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