Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: modules/adblockplus/manifests/user.pp

Issue 29333430: Issue 3508 - Introduce class adblockplus::user (Closed)
Left Patch Set: Created Jan. 13, 2016, 12:31 p.m.
Right Patch Set: Issue 3508 - Fix typo in adblockplus::user documentation Created Jan. 13, 2016, 5:23 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « modules/adblockplus/manifests/init.pp ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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
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 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld