Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 # == Type: adblockplus::user | 1 # == Type: adblockplus::user |
2 # | 2 # |
3 # Manage user accounts. | 3 # Manage user accounts. |
4 # | 4 # |
5 # === Parameters: | 5 # === Parameters: |
6 # | 6 # |
7 # [*authorized_keys*] | 7 # [*authorized_keys*] |
8 # A list of zero or more lines for the ~/.ssh/authorized_keys file of | 8 # A list of zero or more lines for the ~/.ssh/authorized_keys file of |
9 # the respective user. Used as-is, joined by newline characters. | 9 # the respective user. Used as-is, joined by newline characters. |
10 # | 10 # |
11 # [*groups*] | 11 # [*groups*] |
12 # A list of zero or more groups (names), to assign the user to. | 12 # A list of zero or more groups (names), to assign the user to. |
13 # | 13 # |
14 # [*name*] | 14 # [*name*] |
15 # The name of the user account, defaults to $title. | 15 # The name of the user account, defaults to $title. |
16 # | 16 # |
17 # [*password_hash*] | 17 # [*password_hash*] |
18 # The user's password, as leixcal SHA1 hashsum. If undefined, Puppet | 18 # The user's password, as lexical SHA1 hashsum. If undefined, Puppet |
Fred
2016/01/13 17:14:33
Typo: lexical
mathias
2016/01/13 17:27:13
Done.
| |
19 # won't change the current one, if any. Use "*" to disable the user's | 19 # won't change the current one, if any. Use "*" to disable the user's |
20 # password explicitly. | 20 # password explicitly. |
21 # | 21 # |
22 # === Examples: | 22 # === Examples: |
23 # | 23 # |
24 # adblockplus::user {'pinocchio': | 24 # adblockplus::user {'pinocchio': |
25 # authorized_keys => [ | 25 # authorized_keys => [ |
26 # 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAA..................', | 26 # 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAA..................', |
27 # 'from="10.0.8.2" ssh-rsa AAAAB3NzaC..................', | 27 # 'from="10.0.8.2" ssh-rsa AAAAB3NzaC..................', |
28 # ], | 28 # ], |
(...skipping 10 matching lines...) Expand all Loading... | |
39 include adblockplus | 39 include adblockplus |
40 include users | 40 include users |
41 | 41 |
42 users::user {"adblockplus::user#$name": | 42 users::user {"adblockplus::user#$name": |
43 authorized_keys => join($authorized_keys, "\n"), | 43 authorized_keys => join($authorized_keys, "\n"), |
44 groups => $groups, | 44 groups => $groups, |
45 password => $password_hash, | 45 password => $password_hash, |
46 user_name => $name, | 46 user_name => $name, |
47 } | 47 } |
48 } | 48 } |
LEFT | RIGHT |