Puppet Class: oxidized::user

Defined in:
manifests/user.pp

Summary

Manage Oxidzed user

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
27
28
29
# File 'manifests/user.pp', line 3

class oxidized::user {
  user { 'oxidized':
    ensure     => 'present',
    name       => $::oxidized::user,
    forcelocal => true,
    shell      => '/bin/bash',
    gid        => 'oxidized',
    uid        => $::oxidized::user_uid,
    home       => $::oxidized::user_home,
    managehome => false,
    system     => true,
  }
  group { 'oxidized':
    ensure     => 'present',
    name       => $::oxidized::user_group,
    forcelocal => true,
    gid        => $::oxidized::user_group_gid,
    system     => true,
  }

  file { $::oxidized::user_home:
    ensure => 'directory',
    owner  => $::oxidized::user,
    group  => $::oxidized::user_group,
    mode   => $::oxidized::user_home_mode,
  }
}