fix default case
This commit is contained in:
parent
b38db28f70
commit
73c5057e01
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ define sudo::access (
|
||||||
include sudo
|
include sudo
|
||||||
if $user == undef {
|
if $user == undef {
|
||||||
$real_user = $name
|
$real_user = $name
|
||||||
|
} else {
|
||||||
|
$real_user = $user
|
||||||
}
|
}
|
||||||
# there shouldn't be a dot in those filenames!
|
# there shouldn't be a dot in those filenames!
|
||||||
file { "${sudo::dir}/01-user_access-${title}":
|
file { "${sudo::dir}/01-user_access-${title}":
|
||||||
|
|
Loading…
Reference in a new issue