genders

pdk
genders Puppet module

Trey Dockendorf

treydock

2,532 downloads

2,532 latest version

5.0 quality score

Version information

  • 0.1.0 (latest)
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
  • Puppet >= 5.0.0 < 7.0.0
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

treydock/genders — version 0.1.0 Aug 20th 2019

puppet-module-genders

Puppet Forge Build Status

Table of Contents

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

Description

This module will manage genders

Setup

What genders affects

This module will install the genders packages and manage the genders config.

Setup Requirements

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

Usage

Install genders:

include ::genders

Define nodes either via genders class parameter or via defined type:

class { '::genders':
  nodes => {
    'compute01' => { 'attrs' => ['compute','rack01'] },
  },
}
::genders::node { 'compute02':
  attrs => ['compute','rack01'],
}

A node's attributes can be defined as a Hash

::genders::node { 'compute02':
  attrs => {'role' => 'compute','rack' => 'rack01'},
}

A node can be defined as an Array

::genders::node { 'compute':
  node => ['compute01','compute02']
  attrs => ['compute','rack01'],
}

Reference

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