Forge Home


Manage Software Collections


16,006 latest version

4.0 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.0.1 (latest)
released Oct 25th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'treydock-scl', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add treydock-scl
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install treydock-scl --version 0.0.1

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.



treydock/scl — version 0.0.1 Oct 25th 2013


Build Status


This module provides classes to enable SCL repositories.

This model only supports systems with osfamily RedHat.

These are the Software Collection Libraries currently provided by this module:

  • Perl 5.16 - EL6 only
  • Ruby 1.9.3 - EL6 only
  • Python 2.7 - EL6 only
  • Python 3.3 - EL6 only
  • Apache 2.4 - EL6 only
  • PHP 5.4 - EL5 & EL6
  • PHP 5.5 - EL6 only (Requires scl::httpd24)
  • MariaDB 5.5 - EL6 only
  • node.js 0.10 - EL6 only


Class: scl

Manages the scl-utils package

class { 'scl': }

Class: scl::build

Manages the scl-utils-build package

class { 'scl::build': }

Class: scl::COLLECTION

These classes define a scl::collection resource.

Each collection's class has the same basic parameters

  • repo_name - yumrepo namevar attribute
  • repo_descr - yumrepo descr attribute
  • repo_baseurl - yumrepo baseurl attribute
  • repo_failovermethod - yumrepo failovermethod attribute
  • repo_enabled - yumrepo enabled attribute
  • repo_gpgcheck - yumrepo gpgcheck attribute

Enable the ruby193 collection

class { 'scl::ruby193': }

Using an alternative repo for a provided collection

class { 'scl::mariadb55':
  repo_baseurl => ''

Define: scl::collection

This definition is used to manage a SCL yumrepo resource. It can be used to define additional SCL repositories

An example of defining a ImageMagick-6.7 collection

scl::collection { 'scl_ImageMagick67':
  repo_descr    => 'scl_ImageMagick67',
  repo_baseurl  => '',
  repo_enabled  => '1',
  repo_gpgcheck => '0',



Testing requires the following dependencies:

  • rake
  • bundler

Install gem dependencies

bundle install

Run unit tests

bundle exec rake ci

If you have Vagrant >= 1.2.0 installed you can run system tests

bundle exec rake spec:system

Further Information