Puppet Class: sudo

Defined in:
modules/sudo/manifests/init.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/sudo/manifests/init.pp', line 1

class sudo {
    package { 'sudo':
        ensure => installed,
    }

    file { '/etc/sudoers':
        ensure  => present,
        mode    => '0440',
        owner   => 'root',
        group   => 'root',
        source  => 'puppet:///modules/sudo/sudoers',
        require => Package[sudo],
    }
}