Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Keep these in order by Logical Grouping, then UID, so we know what UIDs 
# are available. Remember to realize the user where appropriate; admins 
# are realized in the security module.
#
# If you want to ensure accounts get deleted from machines, add this:
#
#   ensure_d => "absent",
#
# This will ensure the accounts get removed wherever they are realized.

class accounts::users {
   @admin { 
      "joe-mac":
         cell_number       => "xxxxxxxxxx",
         cell_provider     => "textdomain.com",
         comment           => "Joe McDonagh",
         gid               => "1234",
         sshpubkey         => 'AAAAB3NzaC1 ...longstringhereeeee',
         sshpubkey_comment => 'joe-mac@mysite.com',
         uid               => "1234";
   }
}