make the filename use title so that overrides don't leave files behind
This commit is contained in:
parent
d996ff9797
commit
9b44575264
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ define sudo::extra-access($ensure = 'present', $user = undef, $access = 'ALL=(AL
|
|||
$user = $name
|
||||
}
|
||||
# there shouldn't be a dot in those filenames!
|
||||
file { "/etc/sudoers.d/01-user_access-${name}":
|
||||
file { "/etc/sudoers.d/01-user_access-${title}":
|
||||
ensure => 'present',
|
||||
owner => root,
|
||||
group => root,
|
||||
|
|
Loading…
Reference in a new issue