summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-04-30 13:19:59 +0000
committermh <mh@immerda.ch>2009-04-30 13:19:59 +0000
commit2bc082c505e565c93d5ffbfc9303c8b2cb86f1cb (patch)
treeb3de68aa83a0e6caf8a78e7f0656de269a74e275
parentaa9eb617cd804c66d0714070b39c5035cd934561 (diff)
on linux systems we don't need to remove the primary group of a user
-rw-r--r--manifests/defines.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp
index 6ff7cd3..ff6adf1 100644
--- a/manifests/defines.pp
+++ b/manifests/defines.pp
@@ -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 {