make the filename use title so that overrides don't leave files behind

This commit is contained in:
Antoine Beaupré 2013-04-24 16:05:38 -04:00
parent d996ff9797
commit 9b44575264

View file

@ -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,