feat: dont set gid/uid for sysadmin (#265)
- sysadmin doesnt need to be a specific uid/gid, the next available uid/gid is fine Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/265
This commit is contained in:
parent
496ed12a58
commit
1e3ce0ec1c
@ -15,8 +15,6 @@ class profiles::accounts::sysadmin(
|
||||
|
||||
profiles::base::account {'sysadmin':
|
||||
username => 'sysadmin',
|
||||
uid => 1000,
|
||||
gid => 1000,
|
||||
groups => $groups,
|
||||
sshkeys => $sshkeys,
|
||||
sudo_rules => ['sysadmin ALL=(ALL) NOPASSWD:ALL'],
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
# a wrapper for puppetlabs-account and saz-sudo
|
||||
define profiles::base::account (
|
||||
String $username,
|
||||
Integer $uid,
|
||||
Integer $gid = undef,
|
||||
Optional[Integer] $uid = undef,
|
||||
Optional[Integer] $gid = undef,
|
||||
Boolean $manage_home = true,
|
||||
Boolean $create_group = true,
|
||||
Boolean $purge_sshkeys = true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user