get the ordering right dependenant on the system

This commit is contained in:
mh 2009-12-28 12:42:31 +01:00
parent 3dd021c62d
commit 59cfdc9d4f

View file

@ -127,7 +127,18 @@ define user::managed(
if $manage_group and ($ensure == 'absent') {
group{$name:
ensure => absent,
require => User[$name],
}
case $operatingsystem {
OpenBSD: {
Group[$name]{
before => User[$name],
}
}
default: {
Group[$name]{
require => User[$name],
}
}
}
}
} else {