Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eiri/vagrant-salt-erlang
Create a virtual environment for Erlang development with Vagrant and Salt
https://github.com/eiri/vagrant-salt-erlang
Last synced: 28 days ago
JSON representation
Create a virtual environment for Erlang development with Vagrant and Salt
- Host: GitHub
- URL: https://github.com/eiri/vagrant-salt-erlang
- Owner: eiri
- Created: 2013-11-15T05:32:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-09T14:58:07.000Z (over 10 years ago)
- Last Synced: 2023-03-25T21:58:03.108Z (over 1 year ago)
- Language: Scheme
- Size: 133 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vagrant's Erlang sandbox
Creates a virtual environment for erlang development with [Vagrant](http://www.vagrantup.com) and [Salt](http://docs.saltstack.com)
## What in a box?
- CentOS 6.5
- Curl
- Git
- [Kerl](https://github.com/spawngrid/kerl) _(with kerl's bash completion)_
- Erlang R16B02 _(built and activated)_
- Erlang 17.1## Prerequisite
Salt plugin must be installed in Vagrant
```bash
vagrant plugin install vagrant-salt
```## Installation
```bash
git clone [email protected]:eiri/vagrant-erlang-sandbox.git
cd vagrant-erlang-sandbox
vagrant up
```
_it'll take a **while**, but after it's done_
```bash
vagrant ssh
vagrant@precise64:~$ erl -version
Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.10.3
```## Switching to different erlang release
```bash
$ 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](https://github.com/basho/rebar) in /usr/local/bin
- Take a look at [Agner](https://github.com/agner/agner)