Puppet Class: nexus::user
- Defined in:
-
manifests/user.pp
Summary
Manages the operation system user account which is used to start up the service
Overview
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'manifests/user.pp', line 6
class nexus::user {
assert_private()
if($nexus::manage_user){
group { $nexus::group :
ensure => present
}
user { $nexus::user:
ensure => present,
comment => 'Nexus User',
gid => $nexus::group,
home => $nexus::install_root,
shell => '/bin/sh', # required to start application via script.
system => true,
require => Group[$nexus::group]
}
}
}
|