style
This commit is contained in:
parent
7812183189
commit
81c6a5f6d0
1 changed files with 10 additions and 10 deletions
|
@ -1,15 +1,15 @@
|
|||
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;
|
||||
}
|
||||
file { $sudo::dir:
|
||||
ensure => directory,
|
||||
owner => root, group => 0, mode => 0550;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue