Displaying 1 result from an estimated 1 matches for "app2_sudo".
Did you mean:
app1_sudo
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
...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:
> sudoers:
- filename: datacenter1_sudo
- contents: |
%datacenter1 ALL=(ALL) ALL
-...