Version information
released Dec 24th 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
- ,
Start using this module
Add this module to your Puppetfile:
mod 'iwai-lcmaps', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
iwai/lcmaps — version 1.0.1 Dec 24th 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 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'
.
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)