remove needless else clause
This commit is contained in:
parent
855e89eda2
commit
afb1b24143
1 changed files with 1 additions and 5 deletions
|
@ -4,6 +4,7 @@ class sudo {
|
|||
file { "/etc/sudoers":
|
||||
mode => 440, owner => root, group => 0,
|
||||
require => Package['sudo'],
|
||||
source => [ "puppet:///secrets/sudoers.$fqdn", "puppet:///secrets/sudoers" ],
|
||||
}
|
||||
if $operatingsystem == 'FreeBSD' {
|
||||
File["/etc/sudoers"] {
|
||||
|
@ -11,9 +12,4 @@ class sudo {
|
|||
source => [ "puppet:///secrets/sudoers.$fqdn", "puppet:///secrets/sudoers.FreeBSD" ],
|
||||
}
|
||||
}
|
||||
else {
|
||||
File["/etc/sudoers"] {
|
||||
source => [ "puppet:///secrets/sudoers.$fqdn", "puppet:///secrets/sudoers" ],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue