Forge Home


Puppet module for rhcs


9,180 latest version

3.7 quality score

Version information

  • 2.0.14 (latest)
  • 2.0.13
  • 2.0.12
  • 2.0.11
released Jun 30th 2015
This module has been deprecated by its author since Oct 29th 2019.

The reason given was: No longer maintained

The author has suggested example42-tp as its replacement.

Start using this module


example42/rhcs — version 2.0.14 Jun 30th 2015

Puppet module: rhcs


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 RedHat Cluster Suite based on the second generation layout ("NextGen") of Example42 Puppet Modules.

Made by Alessandro Franceschi / Lab42

Official site:

Official git repository:

Released under the terms of Apache 2 License.

This module requires functions provided by the Example42 Puppi module (you need it even if you don't use and install Puppi)

For detailed info about the logic and usage patterns of Example42 modules check the DOCS directory on Example42 main modules set.

USAGE - Modules specific parameters

  • Install rhcs and set ricci's (hashed) password

      class { 'rhcs':
        ricci_password => '$1$am6eJ020$owCyQGVLLcHwbrzkDcOvN.',

Note: The module installs and manager Cman, Rgmanager and Ricci. If you decide to manage the cluster configuration the the Luci web interface you should not provide it via the source or template parameters. If you decide to manage the configuration with Puppet, note that (by default) a syntax check is done and a cman_tool update is triggered. Set service_autorestart => false to avoid automatic configuration of the cluster config file.

USAGE - Basic management

  • Install rhcs with default settings

      class { 'rhcs': }
  • Disable rhcs services (Cman, Rgmanager, Ricci).

      class { 'rhcs':
        disable => true
  • Remove rhcs packages

      class { 'rhcs':
        absent => true
  • Enable auditing without without making changes on existing rhcs configuration files

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

      class { 'rhcs':
        noops => true

USAGE - Overrides and Customizations

  • Use custom sources for main config file

      class { 'rhcs':
        source => [ "puppet:///modules/example42/rhcs/cluster.conf-${hostname}" , "puppet:///modules/example42/rhcs/cluster.conf" ], 
  • Use custom source directory for the whole configuration dir

      class { 'rhcs':
        source_dir       => 'puppet:///modules/example42/rhcs/conf/',
        source_dir_purge => false, # Set to true to purge any existing file not present in $source_dir
  • Use custom template for main config file. Note that template and source arguments are alternative.

      class { 'rhcs':
        template => 'example42/rhcs/cluster.conf.erb',
  • Automatically include a custom subclass

      class { 'rhcs':
        my_class => 'example42::my_rhcs',

USAGE - Example42 extensions management

  • Activate puppi (recommended, but disabled by default)

      class { 'rhcs':
        puppi    => true,
  • Activate puppi and use a custom puppi_helper template (to be provided separately with a puppi::helper define ) to customize the output of puppi commands

      class { 'rhcs':
        puppi        => true,
        puppi_helper => 'myhelper', 
  • Activate automatic monitoring (recommended, but disabled by default). This option requires the usage of Example42 monitor and relevant monitor tools modules

      class { 'rhcs':
        monitor      => true,
        monitor_tool => [ 'nagios' , 'monit' , 'munin' ],
  • Activate automatic firewalling. This option requires the usage of Example42 firewall and relevant firewall tools modules

      class { 'rhcs':       
        firewall      => true,
        firewall_tool => 'iptables',
        firewall_src  => '',
        firewall_dst  => $ipaddress_eth0,

Build Status