Version information
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
Add this module to your Puppetfile:
mod 'iwai-lcmaps', '0.3.12'
Learn more about managing modules with a PuppetfileDocumentation
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
foruser0123
. (0
by default)first_number
: A integer value to specify the first number of pool accounts, e.g.4
for creating in start withuser004
. (1
by default)step_number
: A integer value to specify the step number between pool accounts, e.g.4
for creatinguser001
thenuser005
. (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
foruser0123
. (0
by default)first_number
: A integer value to specify the first number of pool accounts, e.g.4
for creating in start withuser004
. (1
by default)step_number
: A integer value to specify the step number between pool accounts, e.g.4
for creatinguser001
thenuser005
. (1
by default)
Limitations
It works only on RedHat CentOS 7 distributions.
Changelog
All notable changes to this project will be documented in this file.
Release 0.3.2
- Cosmetic fix
Release 0.3.1
- Moved default values to common.yaml hiera file
Release 0.3.0
- PoolData groups field changed to Optional
- Improved doc
Release 0.2.0
- Added capability and PoolData type
Release 0.1.0
First release.
Features
Bugfixes
Known Issues
Dependencies
- puppetlabs-stdlib (>= 1.0.0)