Skip to content

laboshinl/elixir

 
 

Repository files navigation

elixir Cookbook

Build Status Cookbook Version

A cookbook to manage an installation of Elixir.

Requirements

Platforms

  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle

Chef

  • Chef 12.1+

Cookbooks

  • git
  • github
  • erlang
  • libarchive

Attributes

Key Type Description Default
node[:elixir][:install_path] String Path that Elixir will reside in "/usr/local/lib/elixir"
node[:elixir][:install_method] String Method of installation: "package" or "source" "package"
node[:elixir][:source][:repo] String Git source repository location "https://github.com/elixir-lang/elixir.git"
node[:elixir][:version] String Version of Elixir to compile "v1.4.2"

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 ([email protected])

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A cookbook to manage an installation of Elixir

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%