Forge Home


Puppet module for clvm


9,004 latest version

3.8 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/clvm — version 2.0.14 Jun 30th 2015

Puppet module: clvm


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

This module requires example42 rhcs module

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 - Basic management

  • Install clvm with default settings

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

      class { 'clvm':
        version => '1.0.1',
  • Disable clvm service.

      class { 'clvm':
        disable => true
  • Remove clvm package

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

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

      class { 'clvm':
        noops => true

USAGE - Overrides and Customizations

  • Use custom sources for main config file

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

      class { 'clvm':
        source_dir       => 'puppet:///modules/example42/clvm/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 { 'clvm':
        template => 'example42/clvm/clvm.conf.erb',
  • Automatically include a custom subclass

      class { 'clvm':
        my_class => 'example42::my_clvm',

USAGE - Example42 extensions management

  • Activate puppi (recommended, but disabled by default)

      class { 'clvm':
        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 { 'clvm':
        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 { 'clvm':
        monitor      => true,
        monitor_tool => [ 'nagios' , 'monit' , 'munin' ],
  • Activate automatic firewalling. This option requires the usage of Example42 firewall and relevant firewall tools modules

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

Build Status