Forge Home

ruby

Puppet module for ruby

13,692 downloads

8,723 latest version

3.8 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

  • 2.0.17 (latest)
  • 2.0.16
  • 2.0.15
  • 2.0.14
  • 2.0.13
  • 2.0.12
  • 2.0.11
released Oct 19th 2015
This module has been deprecated by its author since Oct 28th 2019.

The reason given was: No longer maintained

The author has suggested puppetlabs-ruby as its replacement.

Start using this module

Tags: ruby, example42

Documentation

example42/ruby — version 2.0.17 Oct 19th 2015

Puppet module: ruby

DEPRECATION NOTICE

This module is no more actively maintained and will hardly be updated.

Please find an alternative module from other authors or consider Tiny Puppet as replacement.

If you want to maintain this module, contact Alessandro Franceschi

This is a Puppet module for ruby It provides only package installation and management

Based on Example42 layouts by Alessandro Franceschi / Lab42

Official site: http://www.example42.com

Official git repository: http://github.com/example42/puppet-ruby

Module development sponsored by AllOver.IO

Released under the terms of Apache 2 License.

This module requires the presence of Example42 Puppi module in your modulepath.

USAGE - Basic management

  • Install ruby with default settings

      class { 'ruby': }
    
  • Install a specific version of ruby package

      class { 'ruby':
        version => '1.0.1',
      }
    
  • Install ruby compiling from uptream source. You have to provide a correct version (as available on ftp://ftp.ruby-lang.org/pub/ruby/ ). Note that this will install various prerequite packages and will take some time. Installs ruby to /usr/local/bin

      class { 'ruby':
        version             => '1.9.3-p392',
        compile_from_source => true,
      }
    
  • Remove ruby resources

      class { 'ruby':
        absent => true
      }
    
  • Module dry-run: Do not make any change on all the resources provided by the module

      class { 'ruby':
        noops => true
      }
    
  • Automatically include a custom subclass

      class { 'ruby':
        my_class => 'example42::my_ruby',
      }
    

TESTING

Build Status