4f433a021f
Mostly documentation and parameterised class parameter complaints. Change-Id: I5b3ffa4ad3f707f385165c2d86c891c6bd4c1ae0 Reviewed-on: https://review.openstack.org/16901 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
20 lines
327 B
Puppet
20 lines
327 B
Puppet
# == Class: sudoers
|
|
#
|
|
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,
|
|
}
|
|
}
|