Forge Home


A module to install the Sensu monitoring framework


8,574 latest version

2.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

  • 2.4.22 (latest)
  • 2.4.21
  • 2.4.2
  • 2.4.2-1
  • 2.4.0
released Dec 7th 2017
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=4.0.0 < 6.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'roshan-ruby', '2.4.22'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install roshan-ruby --version 2.4.22

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.



roshan/ruby — version 2.4.22 Dec 7th 2017

Ruby version 2.4.0

Sensu Version Recommended Puppet Module Version
>= 0.26.0 latest
0.22.x - 0.25.x 2.1.0
0.20.x - 0.21.x 2.0.0
0.17.x - 0.19.x 1.5.5

Upgrade note

Versions prior to 1.0.0 are incompatible with previous versions of the Sensu-Puppet module.

Basic Usage

include 'ruby'

###include in site.pp

class ruby {

package {'ruby-2.4.2-1.el6.x86_64':
ensure => present,
provider => 'rpm',
install_options => ['-ivh'],
source => "/opt/ruby-2.4.2-1.el6.x86_64.rpm",
require => File["/opt/ruby-2.4.2-1.el6.x86_64.rpm"],
file { "/opt/ruby-2.4.2-1.el6.x86_64.rpm":
source => "puppet:///modules/ruby/ruby-2.4.2-1.el6.x86_64.rpm"

file { '/etc/yum.repos.d/sensu.repo':
  path     => '/etc/yum.repos.d/sensu.repo',
  ensure   => file,
  source   => ['puppet:///modules/ruby/sensu.repo'],
  mode     => '0755',
  owner    => 'root',
  group    => 'root',



sudo gem install sensu-plugin

sudo gem install mixlib-cli

Debian & Ubuntu:

sudo apt-get install ruby-json

Quick start

Before this Puppet module can be used, the following items must be configured on the server.

  • Install Redis
  • Install RabbitMQ