Skip to content

Commit

Permalink
Use $name instead of $user, so you can use groups as well and still h…
Browse files Browse the repository at this point in the history
…ave decent filenames
  • Loading branch information
Kristian Øllegaard committed Nov 4, 2011
1 parent 846c3c2 commit 0d56aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sudo/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

define sudo_user( $user, $privileges ) {

file { "/etc/sudoers.d/$user":
file { "/etc/sudoers.d/$name":
owner => root,
group => root,
mode => 0440,
Expand Down

0 comments on commit 0d56aed

Please sign in to comment.