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