Skip to main content

Repository: puppet-rbenv

Puppet module for managing a single system installation of rbenv and Rubies

GitHub
puppet-rbenv
Ownership
#govuk-platform-reliability-team
Hosting
N/A
Category
Utilities

README

Manage a single system installation of rbenv and Rubies.

This differs from existing puppet-rbenv modules in that it uses system packages for everything. It will never call git clone or rbenv install (normally provided by ruby-build).

This ensures that every install is consistent on every server. This is particularly important for Ruby, which will link to whatever libraries and headers are available on the system which it is compiled.

Examples of these packages can be seen at:

Example usage

Include:

include rbenv

Setup a version of Ruby:

rbenv::version { '1.9.3-p392':
  bundler_version => '1.3.5'
}
rbenv::alias { '1.9.3':
  to_version => '1.9.3-p392',
}

License

See LICENSE file.