Commit 1f777fc5 authored by Antoine Beaupré's avatar Antoine Beaupré

deploy the sudoers directory even if we don't overwrite sudoers

parent f4f40c57
class sudo::base {
if $sudo::deploy_sudoers {
file{
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;
}
}
file {
$sudo::dir:
ensure => directory,
owner => root, group => 0, mode => 0550;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment