cookbook 'elixir', '= 0.9.5'
elixir
(41) Versions
0.9.5
-
Follow6
Manages an Elixir installation
cookbook 'elixir', '= 0.9.5', :supermarket
knife supermarket install elixir
knife supermarket download elixir
elixir-cookbook
A cookbook to manage an installation of Elixir.
Supported Platforms
- CentOS
- 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][:install_method]</tt></td>
<td>String</td>
<td>Method of installation: "package" or "source"</td>
<tr><tt>package</tt></tr>
</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 will install Elixir and Erlang on the node. By default, Elixir and Erlang will be installed from packages. If you want to install from source you can set the node[:elixir][:install_method]
attribute.
License and Authors
Author:: Jamie Winsor (jamie@vialstudios.com)
Dependent cookbooks
apt >= 0.0.0 |
git >= 0.0.0 |
github >= 0.0.0 |
erlang >= 0.0.0 |
libarchive ~> 0.4 |
Contingent cookbooks
Foodcritic Metric
0.9.5 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/default.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/default.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/default.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/default.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/source.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/source.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/libraries/chef_elixir.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/libraries/chef_elixir.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/libraries/chef_elixir.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:35
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:17
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:18
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:19
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:13
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:19
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:25
FC019: Access node attributes in a consistent manner: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:8
0.9.5 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/default.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/default.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/default.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/source.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/attributes/source.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/libraries/chef_elixir.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/libraries/chef_elixir.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/libraries/chef_elixir.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:35
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:17
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:18
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:19
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_source.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:13
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:19
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/default.rb:25
FC019: Access node attributes in a consistent manner: /tmp/cook/35500e1b4da199c2e3815f5d/elixir/recipes/_package.rb:8