get the ordering right dependenant on the system
This commit is contained in:
parent
3dd021c62d
commit
59cfdc9d4f
1 changed files with 12 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue