pdsh

pdk
pdsh Puppet module

Trey Dockendorf

treydock

3,377 downloads

2,670 latest version

5.0 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Aug 20th 2019
This version is compatible with:
  • Puppet Enterprise 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, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

treydock/pdsh — version 0.2.0 Aug 20th 2019

puppet-module-pdsh

Puppet Forge Build Status

####Table of Contents

  1. Description
  2. Setup - The basics of getting started with pdsh
  3. Usage - Configuration options and additional functionality
  4. Reference - Module reference

Setup

What pdsh affects

The pdsh module will install and configure pdsh and optionally add groups.

Setup Requirements

For systems with yum package manager using Puppet >= 6.0 there is a dependency on puppetlabs/yumrepo_core.

If genders support is enabled there is a soft dependency on treydock/genders

Usage

Install and configure pdsh

include ::pdsh

Note Groups are only supported on Red Hat based systems.

Define some groups with members an aliases using class (or Hiera)

class { '::pdsh':
  groups => {
    'compute' => {
      'members'  => 'o0[001-824]',
      'aliases'  => ['all'],
    }
  }
}

Groups can be defined through pdsh::group defined type

pdsh::group { 'compute':
  members => 'o0[001-824]',
  aliases => ['all'],
}

Reference

http://treydock.github.io/puppet-module-pdsh/