First commit, just some crap that was in koumbit for no reason !

This commit is contained in:
Guillaume Beaulieu 2013-04-22 16:00:28 -04:00
commit e7dee07acf

21
manifests/init.pp Normal file
View file

@ -0,0 +1,21 @@
class koumbit::sudo {
package { 'sudo': ensure => installed, }
file { "/etc/sudoers":
mode => 440, owner => root, group => 0,
require => Package['sudo'],
}
if $operatingsystem == 'FreeBSD' {
File["/etc/sudoers"] {
path => "/usr/local/etc/sudoers",
source => [ "puppet://$servername/secrets/sudoers.$fqdn", "puppet://$servername/secrets/sudoers.FreeBSD" ],
}
}
else {
File["/etc/sudoers"] {
source => [ "puppet:///secrets/sudoers.$fqdn", "puppet:///secrets/sudoers" ],
}
}
}