Forge Home

lcmaps

Install and configure LCMAPS and pool accounts

1,840 downloads

139 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.3.12 (latest)
  • 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 Jun 6th 2024
This version is compatible with:
  • Puppet Enterprise 2018.1.x
  • Puppet >= 5.5.0 < 6.0.0
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'iwai-lcmaps', '0.3.12'
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 0.3.12

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 0.3.12 Jun 6th 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 CentOS 7 distributions.