Puppet Class: pcp::user
- Defined in:
- manifests/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 |
# File 'manifests/user.pp', line 2
class pcp::user {
if $pcp::manage_user {
group { 'pcp':
ensure => present,
name => 'pcp',
gid => $pcp::pcp_group_gid,
system => true,
forcelocal => true,
}
user { 'pcp':
ensure => present,
name => 'pcp',
uid => $pcp::pcp_user_uid,
gid => 'pcp',
shell => '/sbin/nologin',
home => '/var/lib/pcp',
managehome => false,
comment => 'Performance Co-Pilot',
system => true,
forcelocal => true,
}
}
}
|