Forge Home

9,669 downloads

9,669 latest version

3.0 quality score

Version information

  • 0.0.1 (latest)
released Mar 27th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'reidmv-mcollective', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add reidmv-mcollective
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install reidmv-mcollective --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.

Download

Documentation

reidmv/mcollective — version 0.0.1 Mar 27th 2013

MCollective Puppet Module

Examples

# Class
class { 'mcollective::server':
  config_hash => {
    'connector'           => 'stomp',
    'plugin.stomp.base64' => 'true',
  },
}

# Setting, Verbose
mcollective_setting { 'Verbose resource title for resource':
  name  => 'plugin.stomp.pool.initial_reconnect_delay',
  value => '0.01',
}

# Settings, abbreviated
$pool = 'plugin.stomp.pool'
mcollective_setting { "$pool.max_reconnect_delay":      value => '30.0'  }
mcollective_setting { "$pool.use_exponential_back_off": value => 'true'  }
mcollective_setting { "$pool.back_off_multiplier":      value => '2'     }
mcollective_setting { "$pool.max_reconnect_attempts":   value => '0'     }

# Settings, even more abbreviated
mcollective_setting { "$pool.randomize = false":    }
mcollective_setting { "$pool.timeout = -1":         }
mcollective_setting { "$pool.connect_timeout = 30": }

# Failover Pool Configuration
class { 'mcollective::stomp_failover_pool':
  host     => [ 'firefly.example.com', 'serenity.example.com' ],
  port     => '6163',
  user     => [ 'icanhazuser', 'usercanihaz' ],
  password => [ 'passw0rdz', 'w0rdofpassing' ],
  ssl      => true,
}