Puppet Class: storm::users

Defined in:
manifests/users.pp

Summary

StoRM accounts configuration

Overview

Parameters

StoRM needs a 'storm' Unix user, member of an 'edguser' group. This class creates all the necessary users.

Examples:

Example of usage

class { 'storm::users':
  groups => {
    'infosys' => {
      gid => '996',
    },
  },
  users => {
    'edguser' => {
      'comment' => 'Edguser user',
      'groups'  => [ edguser, infosys, storm, ],
      'uid'     => '995',
      'gid'     => '995',
    },
    'storm' => {
      'comment' => 'StoRM user',
      'groups'  => [ storm, edguser, ],
      'uid'     => '991',
      'gid'     => '991',
    },
  }
}

Parameters:

  • groups (Accounts::Group::Hash)
  • users (Accounts::User::Hash)


37
38
39
40
41
42
43
44
45
46
# File 'manifests/users.pp', line 37

class storm::users (

  Accounts::Group::Hash $groups,
  Accounts::User::Hash $users,

) {

  create_resources('group', $groups)
  create_resources('accounts::user', $users)
}