Displaying 2 results from an estimated 2 matches for "sudo_configs".
2013 Oct 15
6
hiera_array, structured data and multiple levels of hierarchy
...osest 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(''sudoers''))
> # Errors with:
# Error: Could not run: Hiera type mismatch: expected Array and got Hash
#create_res...
2007 Oct 18
3
verify before deploy
so I have this sudo module that I''ve been working on:
class auth::sudo {
package { sudo: ensure => installed }
file { sudo_config:
name => "/tmp/sudoers",
owner => "root",
group => "root",
mode => 0440,
notify => Exec["sudoers-syntax"],
source => [