/puppet-munge

Primary LanguageRubyOtherNOASSERTION

puppet-munge

Build Status

####Table of Contents

  1. Overview
  2. Usage - Configuration options
  3. Reference - Parameter and detailed reference to all options
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module
  6. TODO
  7. Additional Information

Overview

This module manages MUNGE.

Usage

munge

Manage munge and define a site specific munge.key

class { 'munge':
  munge_key_source  => 'puppet:///modules/site_munge/munge.key',
}

Reference

Classes

Public classes

  • munge: Installs and configures munge.

Private classes

  • munge::install: Installs munge packages.
  • munge::config: Configures munge.
  • munge::service: Manages the munge service.
  • munge::params: Sets parameter defaults based on fact values.

Parameters

munge

#####package_ensure

Package 'ensure' property (defaults to 'present').

#####package_name

Munge package name.

#####install_dev

Boolean. Sets if the munge-devel package should be installed (defaults to false).

#####dev_package_name

Munge dev package name.

#####service_name

Munge service name

#####service_ensure

Munge service 'ensure' property (defaults to 'running').

#####service_enable

Munge service 'enable' property (defaults to true).

#####service_hasstatus

Munge service hasstatus value.

#####service_hasrestart

Munge service hasrestart value.

#####munge_key_path

Path to the munge.key file. Default is OS dependent.

#####munge_key_source

The source for the munge.key file (defaults to undef).

Limitations

This module has been tested on:

  • CentOS 6 x86_64
  • Scientific Linux 6 x86_64

Development

Testing

Testing requires the following dependencies:

  • rake
  • bundler

Install gem dependencies

bundle install

Run unit tests

bundle exec rake test

If you have Vagrant >= 1.2.0 installed you can run system tests

bundle exec rake acceptance

TODO

Further Information