system-config/modules/sudoers/manifests/init.pp
Matthew Wagoner 21dff1ba3d style edits to puppet config files
Change-Id: I4f7314bcb1cb58f94ff7a78aebe27ec4591fc11c
Reviewed-on: https://review.openstack.org/14187
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-10-10 21:01:08 +00:00

18 lines
305 B
Puppet

class sudoers {
group { 'sudo':
ensure => present,
}
group { 'admin':
ensure => present,
}
file { '/etc/sudoers':
ensure => present,
owner => 'root',
group => 'root',
mode => '0440',
source => 'puppet:///modules/sudoers/sudoers',
replace => true,
}
}