avoid dependency loop
This commit is contained in:
parent
ac97d73cb0
commit
54ddde930f
1 changed files with 4 additions and 1 deletions
|
@ -145,7 +145,6 @@ define user::managed(
|
||||||
if $manage_group {
|
if $manage_group {
|
||||||
group { $name:
|
group { $name:
|
||||||
allowdupe => false,
|
allowdupe => false,
|
||||||
before => User[$name],
|
|
||||||
ensure => $ensure,
|
ensure => $ensure,
|
||||||
}
|
}
|
||||||
if $real_gid {
|
if $real_gid {
|
||||||
|
@ -166,6 +165,10 @@ define user::managed(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
Group[$name]{
|
||||||
|
before => User[$name],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue