cookbook 'elixir', '= 0.7.0'
elixir
(41) Versions
0.7.0
-
Follow6
Manages an Elixir installation
cookbook 'elixir', '= 0.7.0', :supermarket
knife supermarket install elixir
knife supermarket download elixir
elixir-cookbook
A cookbook to manage an installation of Elixir.
Supported Platforms
- Ubuntu
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>[:elixir][:install_path]</tt></td>
<td>String</td>
<td>Path that Elixir will reside in</td>
<td><tt>"/usr/local/lib/elixir"</tt></td>
</tr>
<tr>
<td><tt>[:elixir][:source][:repo]</tt></td>
<td>String</td>
<td>Git source repository location</td>
<td><tt>"https://github.com/elixir-lang/elixir.git"</tt></td>
</tr>
<tr>
<td><tt>[:elixir][:source][:revision]</tt></td>
<td>String</td>
<td>Version of Elixir to compile</td>
<td><tt>"v0.14.2"</tt></td>
</tr>
</table>
Usage
Include elixir
in your node's run_list
{ "run_list": [ "recipe[elixir::default]" ] }
elixir::default
This delegates to the elixir::source
recipe.
elixir::source
Note: You must have at least 1GB of memory to compile Elixir from source
This will install Elixir and Erlang from source.
elixir::package
This will install Elixir and Erlang from packages provided by erlang-solutions.
License and Authors
Author:: Jamie Winsor (jamie@vialstudios.com)