Commit d996ff97 authored by Antoine Beaupré's avatar Antoine Beaupré

style

parent bf7c40b7
define sudo::user-alias ($ensure = 'present', $members) {
# this is 00-prefixed so that it's defined before the other definitions
file { "/etc/sudoers.d/00-user_alias-$title":
file { "/etc/sudoers.d/00-user_alias-${title}":
ensure => $ensure,
owner => root,
group => root,
mode => 440,
content => "# THIS FILE IS MANAGED BY PUPPET !\n\nUser_Alias $name = $members\n",
content => "# THIS FILE IS MANAGED BY PUPPET !\n\nUser_Alias ${name} = ${members}\n",
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment