module-sudo/manifests/extra-access.pp
2013-04-24 14:33:32 -04:00

9 lines
309 B
Puppet

define sudo::extra-access($ensure = 'present', $user, $access) {
file { "/etc/sudoers.d/01-user_access-$title":
ensure => 'present',
owner => root,
group => admin,
mode => 640,
content => "# THIS FILE IS MANAGED BY PUPPET !\n\n$user $access\n",
}
}