Puppet Class: druid::bigtop::hadoop::user

Defined in:
modules/druid/manifests/bigtop/hadoop/user.pp

Overview

Class druid::bigtop::hadoop::user

Ensures that the druid user/group exist.



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

class druid::bigtop::hadoop::user {

    # We manage service system users in puppet classes, but declare
    # commented placeholders for them in the admin module's data.yaml file
    # to ensure that people don't accidentally add uid/gid conflicts.

    group { 'druid':
        ensure => 'present',
        system => true,
        gid    => 907,
    }
    user { 'druid':
        ensure     => 'present',
        uid        => 907,
        gid        => 'druid',
        shell      => '/bin/false',
        home       => '/nonexistent',
        system     => true,
        managehome => false,
        require    => Group['druid'],
    }
}