Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 11, 2018. It is now read-only.

orien/puppet-elixir

Repository files navigation

Elixir Puppet Module for Boxen

Build Status

Requires the following boxen modules:

  • boxen
  • repository
  • homebrew
  • erlang

About

This module supports Elixir version management with exenv. All Elixir versions are installed into /opt/elixirs.

About elixir-build version

Occasional bumps to the default elixir-build version are fine, on this module, but not essential. The elixir-build version is something you should be managing in your own boxen repository, rather than depending on this module to update for you. See examples on how to change the elixir-build version in the Hiera section.

You can find a release list of versions for elixir-build here.

Usage

# Set the global default Elixir (auto-installs it if it can)
class { 'elixir::global':
 version => '1.0.0'
}
# ensure a certain elixir version is used in a dir
elixir::local { '/path/to/some/project':
 version => '1.0.2'
}
# install a elixir version
elixir::version { '1.0.1': }

Hiera configuration

The following variables may be automatically overridden with Hiera:

---
"elixir::user": "deploy"
"elixir::build::ensure": "v20141001"
"elixir::exenv::ensure": "v0.1.0"

You can also use JSON if your Hiera is configured for that.

About

Installs Elixir versions with Boxen http://boxen.github.com

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /