Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >=4.0.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'evenup-mcollective', '2.0.1'
Learn more about managing modules with a PuppetfileDocumentation
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with mcollective
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- TODO
- Development - Guide for contributing to the module
- Changelog/Contributors
Overview
A puppet module to manage the configuration of mcollective when installed as part of the puppet 4 AIO installation.
Module Description
This module configures the server component and optionally the client configuration.
Requirements for this module is puppet >= 4.0 with the AIO installer. The evenup/puppet is one module that can meet this need. Mcollective also requiers an working ActiveMQ (or RabbitMQ - not supported by this module at this time) setup
Setup
What puppet affects
- /etc/puppetlabs/mcollective/server.cfg
- mcollective service
- /etc/puppetlabs/mcollective/client.cfg (optional)
- client and agent packages (optional)
Beginning with mcollective
This module can be installed with
puppet module install evenup-mcollective
Usage
Installing the server component:
class { 'mcollective':
stomp_host => 'activemq.company.com',
stomp_user => 'mcollective',
stomp_password => 'secretpass',
}
Adding the client to a node and accessible to users in the mco-users
group:
class { 'mcollective':
stomp_host => 'activemq.company.com',
stomp_user => 'mcollective',
stomp_password => 'secretpass',
client => true,
client_group => 'mco-users',
}
###Parameters
Agent Configuration
#####stomp_host
String. Hostname (or IP) of the ActiveMQ server
Default: localhost
#####stomp_user
String. Username to connect to stomp server as
Default: mcollective
#####stomp_password
String. Password for stomp_user
Default: password
#####stomp_port
Integer. ActiveMQ port
Default: 61613
#####psk
String. Pre-shared key for encryptoin
Default: undef
#####client
Boolean. Whether or not the client should be configured
Default: false
#####server_packages
Array[String]. List of packages to be installed with the server role
Default: []
#####client_packages
Array[String]. List of packages to be installed with the client role
Default: []
#####client_group
String. Group that owns the client configuration. This allows keeping the configuration
secure from users who don't need it, but allows for non-root mco access
Reference
Classes
Public Classes
mcollective
: Entry point for configuring the module
Private Classes
mcollective::install
: Installs packages defined in server_packages and client_packages, create pathsmcollective::server
: Configures the server rolemcollective::client
: Configures the client rolemcollective::service
: Manages the mcollective service
Limitations
General
This module currently does not have acceptnace tests and is tested on CentOS 6 and 7. It should work on Ubuntu machines without issue.
TODO
[ ] Add acceptance tests [ ] Allow RabbitMQ config [ ] Allow SSL config
Development
Improvements and bug fixes are greatly appreciated. See the contributing guide for information on adding and validating tests for PRs.
Changelog / Contributors
20150607 v2.0.1 Correct user/group issue 20150607 v2.0.0 Rework for puppet AIO installs 20140415 v1.8.0 Update facts.yml for newer versions of ruby and facter Remove dependency on evenup/ruby, evenup/facter, evenup/logrotate, evenup/common 20140205 v1.7.1 Set client logfile group 20140131 v1.7.0 Allow setting group on client.cfg 20140113 v1.6.0 Add configuration for puppet agent plugin 20130911 v1.5.0 Configure classes file Facts.yaml fix 20130902 v1.4.0 Make beaver optional Set defaults for all params v1.3.0: Update for facter 1.7 Add ability to specify audit module in server (and optionally send to logstash with beaver) Agent and client packages are now passed via parameter rather than hard coded v1.2.1: Fixed subscribe bug on Service['mcollective'] v1.2.0: Remove params class Move to parameterized class Rename templates to .erb v1.1.4: Initial public release
Copyright 2013 EvenUp Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.