lcmaps

pdk
Install and configure LCMAPS and pool accounts

2,304 downloads

265 latest version

5.0 quality score

Version information

  • 1.0.1 (latest)
  • 1.0.0 (deleted)
  • 0.3.12
  • 0.3.11
  • 0.3.10 (deleted)
  • 0.3.9
  • 0.3.8 (deleted)
  • 0.3.7
  • 0.3.6
  • 0.3.5
  • 0.3.4
  • 0.3.3
  • 0.3.2
released Dec 25th 2024
This version is compatible with:
  • Puppet Enterprise 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
  • Puppet >= 7.0.0 < 8.0.0
  • RedHat
    ,
    AlmaLinux

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'iwai-lcmaps', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add iwai-lcmaps
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install iwai-lcmaps --version 1.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

iwai/lcmaps — version 1.0.1 Dec 25th 2024

lcmaps

The module is extended to the original module cnafsd-lcmaps for specifying some optional parameters like:

  • create_pool_user: A boolean switch whether creating pool accounts. (true by default)
  • create_pool_group: A boolean switch whether creating a group for pool accounts. (true by default)
  • number_of_digits: A integer value to specify number of digits for the number of pool accounts, e.g. 4 for user0123. (0 by default)
  • first_number: A integer value to specify the first number of pool accounts, e.g. 4 for creating in start with user004. (1 by default)
  • step_number: A integer value to specify the step number between pool accounts, e.g. 4 for creating user001 then user005. (1 by default)

Table of Contents

Description

Install and configure LCMAPS.

Setup

This module is available on puppet forge:

puppet module install iwai-lcmaps

Usage

Use this module as follow:

include lcmaps

If you want to define your own pool accounts use:

class { 'lcmaps':
  pools => [
    {
      'name' => 'poolname',
      'size' => 200,
      'base_uid' => 1000,
      'group' => 'poolgroup',
      'gid' => 1000,
      'vo' => 'poolVO',
    },
  ],
}

Pool accounts mandatory data:

  • name, the name of the pool;
  • size, the size of pool;
  • base_uid, the first uid of the generated accounts;
  • group, the name of the promary group of each account;
  • gid, the group id of the primary group;
  • vo, the VO name.

Optional parameters:

  • groups, non primary groups for each account;
  • role, the VOMS role (if not defined is NULL);
  • capability, the VOMS capability (if not defined is NULL).
  • create_pool_user: A boolean switch whether creating pool accounts. (true by default)
  • create_pool_group: A boolean switch whether creating a group for pool accounts. (true by default)
  • number_of_digits: A integer value to specify number of digits for the number of pool accounts, e.g. 4 for user0123. (0 by default)
  • first_number: A integer value to specify the first number of pool accounts, e.g. 4 for creating in start with user004. (1 by default)
  • step_number: A integer value to specify the step number between pool accounts, e.g. 4 for creating user001 then user005. (1 by default)

Limitations

It works only on RedHat 9 distributions but not on 7 any longer. To install this module for working with UMD-4 on RedHat 7 series, run puppet module install iwai/lcmaps --version '< 1'.