Puppet Class: slurm::common::user

Defined in:
manifests/common/user.pp

Overview



2
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
# File 'manifests/common/user.pp', line 2

class slurm::common::user {

  if $slurm::manage_slurm_user {
    group { 'slurm':
      ensure     => present,
      name       => $slurm::slurm_user_group,
      gid        => $slurm::slurm_group_gid,
      forcelocal => true,
      system     => true,
    }

    user { 'slurm':
      ensure     => present,
      name       => $slurm::slurm_user,
      uid        => $slurm::slurm_user_uid,
      gid        => $slurm::slurm_user_group,
      shell      => $slurm::slurm_user_shell,
      home       => $slurm::slurm_user_home,
      managehome => $slurm::slurm_user_managehome,
      comment    => $slurm::slurm_user_comment,
      forcelocal => true,
      system     => true,
    }
  }

}