Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.51 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.51 KB

vagrant-erlang

What it is

It's just a few scripts allowing you to quickly setup linux (Ubuntu) environment with erlang installed. It uses vagrant with puppet to setup the VM and puppet-erlang with kerl to install erlang.

Files:

  • Vagrantfile - vagrant config file
  • puppet/manifests/site.pp - puppet script to install erlang
  • puppet/modules/erlang - puppet-erlang module (as a submodule)

How to use it

First, remember to update git submodules to clone puppet-erlang into puppet/modules/erlang:

$ git submodule update --init

Import lucid64 box (change to whatever you like in Vagrantfile), start the VM and run puppet with:

$ vagrant up

It takes about 6-7 minutes to start the VM and install erlang.

Now you can package your VM into a new box:

$ vagrant package

This will create package.box file. Add it to vagrant using:

$ vagrant box add vagrant-lucid64-erlang package.box

To use the newly create box in your project initiate vagrant like this:

$ vagrant init vagrant-lucid64-erlang