on linux systems we don't need to remove the primary group of a user

This commit is contained in:
mh 2009-04-30 13:19:59 +00:00
parent aa9eb617cd
commit 2bc082c505

View file

@ -121,9 +121,13 @@ define user::managed(
if $name != 'root' {
if $uid == 'absent' {
if $manage_group and ($ensure == 'absent') {
group{$name:
case $operatingsystem {
'OpenBSD': {
group{$name:
ensure => absent,
}
}
}
}
} else {
if $manage_group {