aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/sudo.pp
blob: 4ec615cab7267b2bf707d12d10f542a02eb54fad (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:///modules/site_nodo/etc/sudoers/${::hostname}",
                 "puppet:///modules/nodo/etc/sudoers" ],
    owner   => "root",
    group   => "root",
    mode    => 440,
    require => Package["sudo"],
  }
}