Skip to content

Setup on Ubuntu 13.04

Andreas Schmidt edited this page Aug 6, 2013 · 9 revisions

Setting up everything on ubuntu 13.04

ruby

$ sudo apt-get install ruby1.9.1-full make git

rubygems

only for ruby1.8

$ curl http://production.cf.rubygems.org/rubygems/rubygems-2.0.3.tgz >rubygems-2.0.3.tgz
$ tar xfvz rubygems-2.0.3.tgz
$ cd rubygems-2.0.3/
$ sudo ruby setup.rb

curl

The docker client gem won't compile without a recent curl library. May vary between ubuntu versions and centos.

$ sudo apt-get install libcurl4-openssl-dev libcurl3-gnutls libcurl3 curl

docker client

$ sudo gem install docker-client
Building native extensions.  This could take a while...
Successfully installed curb-0.8.4
Fetching: docker-client-0.1.4.gem (100%)
Successfully installed docker-client-0.1.4
Installing ri documentation for curb-0.8.4
Installing ri documentation for docker-client-0.1.4
2 gems installed

haproxy

$ sudo apt-get install haproxy

Augeas and ruby binding

$ sudo apt-get install libaugeas-ruby1.9.1 augeas-tools augeas-doc libaugeas0

Get the haproxy lens

$ git clone https://github.com/camptocamp/puppet-haproxy
$ cp puppet-haproxy/files/haproxy.aug /usr/share/augeas/lenses/dist/