Displaying 1 result from an estimated 1 matches for "app1_sudo".
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
...>
Basically, a node can have different files in /etc/sudoers.d/ depending on
the structure above. I want each sudoers definition to be in it''s own file
in /etc/sudoers.d/.
Here''s how I have my data files laid out (yaml):
common.yaml:
> sudoers:
>
> - filename: app1_sudo
>
> - contents: |
>
> %wheel ALL=(ALL) ALL
>
> - filename: app2_sudo
>
> - contents: |
>
> %app2 ALL=(ALL) ALL
>
> %app3 ALL=(ALL) ALL
>
>
>
datacenter/datacenter.yaml:
> s...