Forge Home

ruby

Installs the language ruby

5,950 downloads

5,697 latest version

4.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Jun 30th 2017
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.5.0 < 5.0.0

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'dermac-ruby', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dermac-ruby
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dermac-ruby --version 0.1.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: ruby

Documentation

dermac/ruby — version 0.1.2 Jun 30th 2017

Ruby-language module for puppet

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with ruby
  4. Limitations

Overview

The ruby-module installs the Ruby language

Module Description

The ruby-module installs the Ruby language on Windows with the chocolatey-module in silent mode.

Setup

Setup Requirements

The ruby-module uses the chocolatey-chocolatey module

Beginning with ruby

for a simple ruby-installation use:

    class { ruby: }
package_ensure

One of the following values:

  • installed: Installs the current version
  • latest: Installs the current version and updates to every new release
  • '1.0.0': Installs a specific version
  • absent: Removes the application
package_name

Name of the package in the os-specific package-manager. In normal circumstances there is no need to change this value.

prerelease

Wether or not using the prerelease of the package. This is not available in all providers.

checksum

Override the maintainer-provided checksum for the package. This is not available in all providers.

installpath

The abolute path, where ruby should be installed. The default points to C:\tools\ruby24

addtk

With this swtich you can decide to install the optionaly Tcl/Tk support. true |false

assocfiles

Associate .rb and .rbw files to the newly installed ruby. true |false

modpath

Update the PATH environment variable for ruby binary. true |false

defaultutf8

Set environment variable RUBYOPT=-Eutf-8. true |false

Installation with all the paramters and its defaults:

  class { ruby:
    package_ensure => latest,
    prerelease     => false,
    checksum       => false,
    installpath    => 'C:\tools\ruby24',
    addtk          => true,
    assocfiles     => true,
    modpath        => true,
    defaultutf8    => true,
  }

Limitations

At the Moment, only windows 7 and windows 10 are supported.