I would really like to know what other people may suggest, the only thing
that comes to my mind is to make use of tags for your users.

Regards
El 28/03/2014 19:24, "Martin Langhoff" <[email protected]> escribió:

> Scenario - we have modules:
>  - our_users: defines all the (virtual) users (sysadmins, support,
> developers) as members of wheel
>  - our_base: gets applied to all nodes
>  - our_webserver: defines the apache group
>
> What I want to achieve is: on nodes that use our_webserver (where the
> apache group exists), any member of wheel should also be in apache.
>
> We tried
>
>    User <| groups == 'wheel' |> {
>       groups = ['wheel', 'apache']
>    }
>
> but this realizes all virtual users (which breaks other stuff we do), and
> would not very well if another module was to do this too.
>
> Is there a good way to do this? Either in "our_webserver" -- which I would
> prefer -- or in our_users (if apache group exists, be a member).
>
>
>
>
> m
> --
>  [email protected]
>  -  ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  ~ http://docs.moodle.org/en/User:Martin_Langhoff
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CACPiFCLtFeMR0RpZ6Aha%3DnZe9Fuu_stAzigOhsvnGHVDewz-xg%40mail.gmail.com<https://groups.google.com/d/msgid/puppet-users/CACPiFCLtFeMR0RpZ6Aha%3DnZe9Fuu_stAzigOhsvnGHVDewz-xg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAF_B3dfSX_L2K8zbn8u1j%3D8fdBqOvHpg23Nv%3DhwNvpcdV_P4vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to