aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/sudo.pp
blob: c3e18e7623a2eb23090272da760bcbf42c92bc5f (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"],
  }
}