>
> Autorequires: If Puppet is managing the user’s primary group (as provided 
> in the gid attribute) or any group listed in the groups attribute then the 
> user resource will autorequire that group. If Puppet is managing any role 
> accounts corresponding to the user’s roles, the user resource will 
> autorequire those role accounts.


https://docs.puppet.com/puppet/latest/types/user.html#user-description
 
On Tuesday, February 21, 2017 at 4:21:07 AM UTC-5, Robert wrote:
>
> Hi Joshua,
>
> As you can see I can't put a "before => User['resource_name']" in the 
>> group resource, because each user resource is dynamic. What is the 
>> recommended approach in this situation? I just want to make sure that all 
>> the groups are created before the users are created.
>>
>
> I didn't tried it now but
>  Group <| |> -> User <| |>
> should work I believe.
>
> Best
> Rp
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a1bc768a-80eb-493a-8cc3-40f3ad7a1a7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to