Displaying 1 result from an estimated 1 matches for "sudo_crap".
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
...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 got Hash
#create_resources(sudo_crap::sudo_configs, hiera_debug_array(''sudoers''))
> # works for only one level of hierarchy
create_resources(sudo_crap::sudo_configs, hiera_debug(...