ruby

contributions requested
A module to install the Sensu monitoring framework

9,700 downloads

8,761 latest version

2.0 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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.

Download

Documentation

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',
}

}

Rubygem:

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