Commit afb1b241 authored by Antoine Beaupré's avatar Antoine Beaupré

remove needless else clause

parent 855e89ed
......@@ -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" ],
}
}
}
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