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) {
|
define sudo::user-alias ($ensure = 'present', $groupname, $members) {
|
||||||
file { "/etc/sudoers.d/01-user_access-$title":
|
file { "/etc/sudoers.d/00-user_alias-$title":
|
||||||
ensure => $ensure,
|
ensure => $ensure,
|
||||||
owner => root,
|
owner => root,
|
||||||
group => root,
|
group => root,
|
||||||
mode => 440,
|
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