class sudo::base { if $sudo::deploy_sudoers { file{ '/etc/sudoers': source => [ "puppet:///modules/site_sudo/sudoers/${::fqdn}/sudoers", "puppet:///modules/site_sudo/sudoers/sudoers", "puppet:///modules/sudo/sudoers/${::operatingsystem}/sudoers", "puppet:///modules/sudo/sudoers/sudoers" ], owner => root, group => 0, mode => 0440; $sudo::dir: ensure => directory, owner => root, group => 0, mode => 0550; } } }