Displaying 1 result from an estimated 1 matches for "datacenter3".
Did you mean:
datacenter
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
...ALL=(ALL) ALL
>
>
>
datacenter/datacenter.yaml:
> sudoers:
- filename: datacenter1_sudo
- contents: |
%datacenter1 ALL=(ALL) ALL
- filename: datacenter2_sudo
- contents: |
%datacenter2 ALL=(ALL) ALL
%datacenter3 ALL=(ALL) ALL
This is the closest I''ve been able to get, however, notice I''m not using
''hiera_array'', thus, only 1 level of hierarchy is written.
class sudo_crap {
# Errors with:
# Error: Could not run: Hiera type mismatch: expected Array and...