Puppet Class: dumpsuser

Defined in:
modules/dumpsuser/manifests/init.pp

Overview

SPDX-License-Identifier: Apache-2.0



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'modules/dumpsuser/manifests/init.pp', line 2

class dumpsuser {
    $user = 'dumpsgen'
    $group = 'dumpsgen'

    # UID must be fixed, we read/write on an NFS filesystem
    user { $user:
        uid        => 400,
        gid        => $group,
        home       => "/var/lib/${user}",
        shell      => '/bin/bash',
        managehome => true,
        system     => true,
    }

    group { $group:
        ensure => present,
        gid    => 400,
        system => true,
    }
}