Puppet Class: munge::user

Defined in:
manifests/user.pp

Summary

Manage munge user and group

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/user.pp', line 3

class munge::user {
  if $munge::manage_user {
    group { 'munge':
      ensure     => 'present',
      name       => $munge::group,
      gid        => $munge::munge_group_gid,
      system     => true,
      forcelocal => true,
    }

    user { 'munge':
      ensure     => 'present',
      name       => $munge::user,
      uid        => $munge::munge_user_uid,
      gid        => $munge::group,
      shell      => $munge::munge_user_shell,
      home       => $munge::munge_user_home,
      managehome => false,
      comment    => "Runs Uid 'N' Gid Emporium",
      system     => true,
      forcelocal => true,
    }
  }
}