Puppet Class: osg::ce::users

Defined in:
manifests/ce/users.pp

Summary

Manage OSG CE Users

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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'manifests/ce/users.pp', line 3

class osg::ce::users {

  if $osg::ce::manage_users {
    user { 'condor':
      ensure     => 'present',
      name       => 'condor',
      uid        => $osg::ce::condor_uid,
      gid        => 'condor',
      home       => '/var/lib/condor',
      shell      => '/sbin/nologin',
      system     => true,
      comment    => 'Owner of HTCondor Daemons',
      managehome => false,
      forcelocal => true,
    }

    group { 'condor':
      ensure     => present,
      name       => 'condor',
      gid        => $osg::ce::condor_gid,
      system     => true,
      forcelocal => true,
    }

    user { 'gratia':
      ensure     => 'present',
      name       => 'gratia',
      uid        => $osg::ce::gratia_uid,
      gid        => 'gratia',
      home       => '/etc/gratia',
      shell      => '/sbin/nologin',
      system     => true,
      comment    => 'gratia runtime user',
      managehome => false,
      forcelocal => true,
    }

    group { 'gratia':
      ensure     => present,
      name       => 'gratia',
      gid        => $osg::ce::gratia_gid,
      system     => true,
      forcelocal => true,
    }
  }
}