Skip to content

epfl-scitas/puppet-munge

 
 

Repository files navigation

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.

#####package_manage_repo

Boolean. Sets if the repository class should be included ('::epel') and if the package should require the corresponding Yumrepo class (defaults to true).

#####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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 71.5%
  • Puppet 28.5%