aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/sudo.pp
blob: 5ee8ca90889940a11b49a103e0fcb223e780d5e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class nodo::subsystem::sudo {
  package { "sudo":
    ensure => "present",
  }

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