Skip to content

Create a virtual environment for Erlang development with Vagrant and Salt

Notifications You must be signed in to change notification settings

eiri/vagrant-salt-erlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant's Erlang sandbox

Creates a virtual environment for erlang development with Vagrant and Salt

What in a box?

  • CentOS 6.5
  • Curl
  • Git
  • Kerl (with kerl's bash completion)
  • Erlang R16B02 (built and activated)
  • Erlang 17.1

Prerequisite

Salt plugin must be installed in Vagrant

vagrant plugin install vagrant-salt

Installation

git clone git@github.com:eiri/vagrant-erlang-sandbox.git
cd vagrant-erlang-sandbox
vagrant up

it'll take a while, but after it's done

vagrant ssh
vagrant@precise64:~$ erl -version
Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.10.3

Switching to different erlang release

$ kerl_deactivate
$ kerl list installations
r16b03 /home/vagrant/.kerl/installs/r16b03
r17b01 /home/vagrant/.kerl/installs/r17b01
$ . /home/vagrant/.kerl/installs/r17b01/activate
erl -version
Erlang (ASYNC_THREADS,HIPE) (BEAM) emulator version 6.1

Testing Salt's highstate

Run sudo salt-call state.highstate from the virtual box.

ToDo

  • Install rebar in /usr/local/bin
  • Take a look at Agner

About

Create a virtual environment for Erlang development with Vagrant and Salt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published