remove needless else clause

This commit is contained in:
Antoine Beaupré 2013-04-24 16:08:42 -04:00
parent 855e89eda2
commit afb1b24143

View file

@ -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" ],
}
}
}