remove the group AFTER we removed the user
This commit is contained in:
parent
45b0dfcd6b
commit
12f134a56b
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ define user::managed(
|
|||
if $manage_group and ($ensure == 'absent') {
|
||||
group{$name:
|
||||
ensure => absent,
|
||||
require => User[$name],
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue