To create a valid deployment file for the full deployment of CloudFoundry it is necessary to use Spiff. Spiff is a „A declarative YAML templating system tuned for BOSH deployment manifests.“ . The first step is to install mercurial and bzr for a fundamental set of installation prerequisites.

sudo apt-get install mercurial bzr

After installing mercurial and bzr we are ready to install gvm. This is done, comparable to rvm, via curl and the following source command to add the gvm to the console environment.

bash < <(curl -s -S -L
source /home/ubuntu/.gvm/scripts/gvm

When you successfully downloaded and installed gvm the next is, again comparable to rvm, the installation of a Go version. This is done via:

gvm install go1.2
gvm use go1.2

Having successfully installed Go the last step is to create the Go environment for Spiff, which is done via:

mkdir ~/go
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
go get