module-sudo/manifests/user_alias.pp

14 lines
370 B
ObjectPascal
Raw Normal View History

define sudo::user_alias (
$members,
$ensure = 'present'
) {
# this is 00-prefixed so that it's defined before the other definitions
2013-06-22 19:48:10 +02:00
file { "${sudo::dir}/00-user_alias-${title}":
ensure => $ensure,
owner => 'root',
group => 0,
mode => '0440',
content => "# THIS FILE IS MANAGED BY PUPPET !\n\nUser_Alias ${name} = ${members}\n",
}
2013-04-24 20:01:34 +02:00
}