aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sudo/manifests/init.pp
blob: 93ebc24966b1ccc7b6d083d534b34575690d9395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class sudo {
    package { sudo:
	ensure => installed;
    }

    file { "/etc/sudoers.d":
        ensure => directory,
        mode => 711,
        owner => root,
        group => root,
    }

    file { "/etc/sudoers":
	ensure => present,
	owner => root,
	group => root,
	mode => 440,
	content => template("sudo/sudoers")
    }
}