files were reversed
This commit is contained in:
parent
64cc4ce4e6
commit
4aa05ebb49
1 changed files with 3 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
|||
define sudo::extra-access($ensure = 'present', $user, $access) {
|
||||
file { "/etc/sudoers.d/01-user_access-$title":
|
||||
define sudo::user-alias ($ensure = 'present', $groupname, $members) {
|
||||
file { "/etc/sudoers.d/00-user_alias-$title":
|
||||
ensure => $ensure,
|
||||
owner => root,
|
||||
group => root,
|
||||
mode => 440,
|
||||
content => "# THIS FILE IS MANAGED BY PUPPET !\n\n$user $access\n",
|
||||
content => "# THIS FILE IS MANAGED BY PUPPET !\n\nUser_Alias $groupname = $members\n",
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue