aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/sudo.pp
blob: 3b377ed53ab2a1f280d49184d15887dad2e27701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class sudo {

  package { "sudo":
    ensure => "present",
  }

  file { "/etc/sudoers":
    source  => [ "puppet://$server/files/etc/sudoers/$hostname",
                 "puppet://$server/modules/nodo/etc/sudoers" ],
    owner   => "root",
    group   => "root",
    mode    => 440,
    require => Package["sudo"],
  }
}