forked from jonuwz/puppet-ipa
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
883 lines (569 loc) · 22.9 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
# IPA Puppet module
[![Build Status](https://travis-ci.org/waveclaw/waveclaw-ipa.png?branch=master)](https://travis-ci.org/waveclaw/waveclaw-ipa)
Overview
--------
Puppet module to manage IPA masters, replicas and clients.
waveclaw/wavelcaw-ipa aims to use native IPA IPAs to install, configure and replicate IPA masters. Client installation is provided through the ipa\_client type.
Only the replica features assume setup of an IPA master. Design is largely inspired by the Harvard Univeristy module [https://github.com/huit/puppet-ipa]. Instead of largely being degined types build on exec resources this module users the IPA library created by jonwuz [https://github.com/jonwuz].
IPA replica servers will be automatically configured with a replication agreement on the IPA primary master server.
TODO - All Puppet nodes added as clients will automatically be added to the IPA domain through exported resources.
TODO - Multiple IPA domains are supported.
A remove feature has been included to remove the IPA client from nodes including packages.
Dependencies
------------
The ability to use [Exported resources](http://docs.puppetlabs.com/guides/exported_resources.html) and
[Stored Configuration](http://projects.puppetlabs.com/projects/1/wiki/Using_Stored_Configuration) enabled on the Puppet master.
[puppetlabs/puppetlabs-firewall](https://forge.puppetlabs.com/puppetlabs/firewall) module.
[puppetlabs/stdlib](https://forge.puppetlabs.com/puppetlabs/stdlib) module.
## Optional
[ripienaar/puppet-module-data](https://forge.puppetlabs.com/ripienaar/module-data) formatted data is provided for defaults in leiu of the params pattern. See data/hiera.yaml and manifests/defaults.pp for more details.
[TomPoulton/hiera-eyaml](https://forge.puppetlabs.com/tompoulton/hiera-eyaml) for secure passwords in YAML.
Usage
-----
Here are a few simple usage examples. If you don't want to put your passwords in the clear, then use hiera-eyaml[https://github.com/TomPoulton/hiera-eyaml].
IPA master:
```puppet
node 'ipamaster.domain.name' {
class { 'ipa::config':
domain => 'domain.name',
realm => 'DOMAIN.NAME',
adminpw => 'somepasswd', # Cleartext example
dspw => hiera('some_passwd') # Using hiera
}
class { 'ipa':
role => 'master', # Only one master per Puppet master
}
}
```
IPA replica:
```puppet
node 'ipareplica1.domain.name' {
}
class { 'ipa::config':
domain => 'domain.name',
realm => 'DOMAIN.NAME',
adminpw => 'somepasswd',
dspw => 'somepasswd',
otp => 'onetimepasswd'
}
class { 'ipa':
role => 'replica',
}
```
Another IPA replica:
```puppet
node 'ipareplica2.domain.name' {
class { 'ipa::config':
domain => 'domain.name',
realm => 'DOMAIN.NAME',
adminpw => hiera('some_passwd'),
dspw => hiera('some_passwd'),
otp => hiera('one_time_passwd'),
}
class { 'ipa':
role => 'replica',
}
}
```
IPA client:
```puppet
node 'ipaclient.domain.name' {
class { 'ipa::config':
domain => 'domain.name',
realm => 'DOMAIN.NAME',
loadbalance => true,
ipaservers => ['ipaloadbalanceddnsname.domain.name','ipamaster.domain.name','ipareplica1.domain.name','ipareplica2.domain.name'],
# This string will show up the the description attribute of the computer account.
desc => 'This is an IPA client',
otp => hiera('one_time_passwd'),
}
class { 'ipa':
role => 'client',
enable => true,
}
}
```
Cleanup parameter:
```puppet
node 'ipawhatever.domain.name' {
class { 'ipa':
cleanup => true # Removes IPA completely. Mutually exclusive from master, replica and client parameters.
}
}
```
## Limitations
IPA master and replicas require a RedHat family OS.
## License
GPL 3.0.
For Details, see LICENSE.
## Support
Please report issues [here](https://github.com/waveclaw/waveclaw-ipa/issues). Do NOT post issues with huit or jonwuz for problems with this module.
For more information see [https://github.com/waveclaw/waveclaw-ipa.git](https://github.com/waveclaw/waveclaw-ipa.git)
# Interfaces
## Puppet DSL Interface
Global ::ipa Options
---------------------
Available parameters.
####`role`
Configures a server to be an IPA master, replica or client.
Valid values are master, replica and client.
Defaults to 'client'.
####`domain`
Defines the LDAP domain.
Defaults to 'undef'.
If a DNS entry is provided that will be used as default.
####`realm`
Defines the Kerberos realm.
Defaults to 'undef'. If a DNS entry is provided that will be used as default.
### ipa::master::options
####`adminpw`
Defines the IPA administrative user password.
Defaults to 'undef'.
####`dspw`
Defines the IPA directory services password.
Defaults to 'undef'.
####`otp`
Defines an IPA client one-time-password.
Defaults to 'undef'.
####`dns`
Controls the option to configure a DNS zone with the IPA master setup.
Defaults to 'false'.
####`forwarders`
Defines an array of DNS forwarders to use when DNS is setup. An empty list will use the Root Nameservers.
Defaults to '[]'.
####`loadbalance`
Controls the option to include any additional hostnames to be used in a load balanced IPA client configuration.
Defaults to 'false'.
####`ipaservers`
Defines an array of additional hostnames to be used in a load balanced IPA client configuration.
Defaults to '[]'
####`automount`
Controls the option to configure automounter maps in LDAP.
Defaults to 'false'.
### ipa::client::options
####`mkhomedir`
Controls the option to create user home directories on first login.
Defaults to 'false'.
####`ntp`
Controls the option to configure NTP on a client.
Defaults to 'false'.
####`desc`
Controls the description entry of an IPA client.
Defaults to ''.
####`locality`
Controls the locality entry of an IPA client.
Defaults to ''.
####`location`
Controls the location entry of an IPA client.
Defaults to ''.
####`sudo`
Controls the option to configure sudo in LDAP.
Requires the master to provide sudo in LDAP.
Defaults to 'false'.
####`sudopw`
Defines the sudo user bind password.
Defaults to 'undef'.
####`autofs`
Controls the option to start the autofs service and install the autofs package.
Requies the master to provide autofs maps in LDAP.
Defaults to 'false'.
## Native Types
Most of these derive from jonwuz-ipa.
### ipa_group
Manages user groups within IPA.
Typically the properties are as they appear in the 'User Groups' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
The nonposix parameter, if changed, will destroy and re-create the group.
ipa_group { 'editors':
ensure => 'present',
description => 'Limited admins who can edit other users',
gid => '800200002',
nonposix => 'false',
}
#### Parameters
description
: __String__ A description for the group. Defaults to the name
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
gid
: __Integer__ The gid of the group. Will be auto generated if absent
name
: __String__ The name of the group
nonposix
: __Boolean__ Whether this is a unix group or not. A true value will not create a GID for the group
Valid values are `true`, `false`.
provider
: The specific backend to use for this `ipa_group`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
### ipa_hbacrule
Manages Host Based Access Control rules within IPA.
Typically the properties are as they appear in the 'Host Based Access Control -> HBAC Rules' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
Note :
The parameters 'anyuser', 'anyhost', 'anyservice', if true, will set
users and usergroups, hosts and hostgroups, services and servicegroups
to an empty value respectively.
This allows you to keep values in your manifest and override them
ipa_hbacrule { 'puppet admins - client':
ensure => 'present',
anyhost => 'true',
anyservice => 'false',
anyuser => 'false',
servicegroups => ['remote unix access'],
usergroups => ['puppet_admins'],
}
#### Parameters
anyhost
: __Boolean__ Whether this hbac rule applies to all hosts. Overrides hosts/hostgroups
Valid values are `true`, `false`.
anyservice
: __Boolean__ Whether this hbac rule applies to all services. Overrides services/servicegroups
Valid values are `true`, `false`.
anyuser
: __Boolean__ Whether this hbac rule applies to all users. Overrides users/usergroups
Valid values are `true`, `false`.
description
: __String__ A description for the hbac rule. Defaults to the name of the hbac rule
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
hostgroups
: __Array of strings__ A list of hostgroups `ipa_hostgroup` that this hbac rule applies to
hosts
: __Array of strings__ a list of hosts `ipa_host` that this hbac rule applies to
name
: __String__ The name of the hbac rule
provider
: The specific backend to use for this `ipa_hbacrule`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
servicegroups
: __Array of strings__ A list of servicegroups `ipa_hbacsvcgroup` that this hbac rule applies to
services
: __Array of strings__ A list of services `ipa_hbacsvc` that this hbac rule applies to
usergroups
: __Array of strings__ a list of usergroups `ipa_groups` that this hbac rule applies to
users
: __Array of strings__ a list of users `ipa_user` that this hbac rule applies to
### ipa_hbacsvc
Manages Host Based Access Control servcies within IPA.
Typically the properties are as they appear in the 'Host Based Access Control -> HBAC Services' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
ipa_hbacsvc { 'sudo':
ensure => 'present',
description => 'sudo',
}
#### Parameters
description
: __String__ A description for the service. Defaults to the name of the service
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
name
: __String__ The name of the service
provider
: The specific backend to use for this `ipa_hbacsvc`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
### ipa_hbacsvcgroup
Manages Host Based Access Control service groups within IPA.
Typically the properties are as they appear in the 'Host Based Access Control -> HBAC Service Groups' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
ipa_hbacsvcgroup { 'remote unix access':
ensure => 'present',
description => 'ssh / sudo / ftp',
members => ['sshd', 'sudo'],
}
#### Parameters
description
: __String__ A description for the service group. Defaults to the name of the service group
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
members
: __Array of strings__ A list of services `ipa_hbacsvc` that constitute the service group
name
: __String__ The name of the service groups
provider
: The specific backend to use for this `ipa_hbacsvcgroup`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
### ipa_host
Manages host details within IPA.
This type is most useful when collected on the IPA server from exported resources.
Typically the properties are as they appear in the 'Hosts' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
The ip_address parameter is used only on creation to populate DNS
ipa_host { 'ipa.auto.local':
ensure => 'present',
description => 'Primary IPA server',
locality => 'Timbuktu',
location => 'datahall 1 rack 2',
managedby => "ipa.$::domain",
operating_system => "$::operatingsystem $::operatingsystemrelease",
platform => $::architecture,
}
#### Parameters
description
: __String__ A description for the server. Defaults to the name of the host
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
hostgroups
: __Array of strings__ A list of hostgroups this server belongs to
ip\_address
: __String__ The IP address of the server. A sane default is `$::ipaddress`
locality
: __String__ Locality of the server
location
: __String__ Location of the server
managedby
: __Array of strings__ A list of ipa servers managing this server. Typically this is your IPA server
name
: __String__ The fully qualified hostname
operating\_system
: __String__ OS of the server. A sane value is `"$::operatingsystem $::operatingsystemrelease"`
platform
: __String__ Platform of the server. A sane value is `$::architecture`
provider
: The specific backend to use for this `ipa_host`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
### ipa_hostgroup
Manages hostgroups within IPA.
Typically the properties are as they appear in the 'Host Groups' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
ipa_hostgroup { 'puppet_servers':
ensure => 'present',
description => 'Puppet Servers',
}
#### Parameters
description
: __String__ A description for the hostgroup. Defaults to the name of the hostgroup
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
name
: __String__ The name of hte hostgroup
provider
: The specific backend to use for this `ipa_hostgroup`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
### ipa_sudocmd
Manages Sudo commands within IPA.
Typically the properties are as they appear in the 'Sudo -> Sudo Commands' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
ipa_sudocmd { '/etc/init.d/puppet':
ensure => 'present',
}
#### Parameters
description
: __String__ A description for the sudo command. Defaults to the name of the sudo command
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
name
: __String__ The name of the sudo command. This is the fully qualified path to the binary. Wildcards are allowed
provider
: The specific backend to use for this `ipa_sudocmd`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
### ipa_sudocmdgroup
Manages Sudo command groups within IPA.
Typically the properties are as they appear in the 'Sudo -> Sudo Command Groups' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
ipa_sudocmdgroup { 'puppet commands':
ensure => 'present',
description => 'Stuff for puppet',
members => ['/etc/init.d/puppet', '/usr/bin/pupet'],
}
#### Parameters
description
: __String__ A description ffor the sudo command group. Defaults to the name of the sudo command group
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
members
: __Array of strings__ A list of sudo commands `ipa_sudocmd` that constitute the sudo command group
name
: __String__ The name of the sudo command group
provider
: The specific backend to use for this `ipa_sudocmdgroup`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
### ipa_sudorule
Manages Sudo rules within IPA.
Typically the properties are as they appear in the 'Host Based Access Control -> HBAC Rules' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
Note :
The parameters 'anyuser', 'anyhost', 'anycommand', if true, will set
users and usergroups, hosts and hostgroups, allow/deny_commands and allow/deny_commandgroups
to an empty value respectively.
The parameters 'anyrunasuser' and 'anyrunasgroup', if true, will set
runasusers / runasusergroups / runasgroups to an empty value
This allows you to keep values in your manifest and override them
ipa_sudorule { 'puppet administration - client':
ensure => 'present',
allow_commandgroups => ['puppet commands'],
anycommand => 'false',
anyhost => 'true',
anyrunasgroup => 'false',
anyrunasuser => 'false',
anyuser => 'false',
options => ['!authenicate'],
usergroups => ['puppet_admins'],
}
#### Parameters
allow\_commandgroups
: __Array of strings__ A list of commandgroups `ipa_sudocmdgroup` that the sudo rule allows to be run
allow\_commands
: __Array of strings__ A list of commands `ipa_sudocmd` that the sudo rule allows to be run
anycommand
: __Boolean__ Whether this sudo rule applies to all commands. Overrides allow/deny_command(group)s
Valid values are `true`, `false`.
anyhost
: __Boolean__ Whether this sudo rule applies to all hosts. Overrides hosts/hostgroups
Valid values are `true`, `false`.
anyrunasgroup
: __Boolean__ Whether this sudo rule can run as any group. Overrides runasuser/runasusergroups/runasgroup
Valid values are `true`, `false`.
anyrunasuser
: __Boolean__ Whether this sudo rule can run as any user. Overrides runasuser/runasusergroups/runasgroup
Valid values are `true`, `false`.
anyuser
: __Boolean__ Whether this sudo rule applies to all users. Overrides users/usergroups
Valid values are `true`, `false`.
deny\_commandgroups
: __Array of strings__ A list of commandgroups `ipa_sudocmdgroup` that the sudo rule prevents from running
deny\_commands
: __Array of strings__ A list of commands `ipa_sudocmd` that the sudo rule prevents from running
description
: __String__ A description for the sudo rule. Defaults to hte name of the sudo rule
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
hostgroups
: __Array of strings__ A list of hostgroups `ipa_hostgroup` that the sudo rule applies to
hosts
: __Array of strings__ A list of hosts `ipa_host` that the sudo rule applies to
name
: __String__ The name of the sudo rule
options
: __Array of strings__ A list of options that the sudo rule. i.e. `["!authenticatei"]`
provider
: The specific backend to use for this `ipa_sudorule`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
runasgroups
: __Array of strings__ A list of usergroups `ipa_group` that the sudo commands in the rule can be run as
runasusergroups
: __Array of strings__ A list of usergroups `ipa_groups` that contain users that the sudo commands in the rule can be run as
runasusers
: __Array of strings__ A list of users `ipa_user` that the sudo commands in the rule can be run as
usergroups
: __Array of strings__ A list of usergroups `ipa_group` whose users are permitted to run the commands in the sudo rule
users
: __Array of strings__ A list of users `ipa_user` permitted to run the commands in the sudo rule
### ipa_user
Manages user accounts within IPA.
Typically the properties are as they appear in the 'Users' section of the web interface,
lowercased, with underscores replacing spaces. Properties that take an array are pluralized.
The password parameter is only used on create and is not ensurable.
ipa_user { 'john':
ensure => 'present',
first_name => 'John',
last_name => 'Wibble',
full_name => "$first_name $last_name"
uid => '800200001',
gecos => "usr_$name_$uid",
home_directory => "/home/$name",
login_shell => '/bin/bash',
ssh_public_keys => 'ssh-rsa AAAAB3NzaC1yc2EA ... e5JmsDLkkA5e+XOzWzi01IVTkYXNdpTv [email protected]',
telephone_numbers => ['12345678'],
usergroups => ['admins', 'puppet_admins'],
}
#### Parameters
car\_license
: __String__ The users car license plate number
city
: __String__ The users city of residence
display\_name
: __String__
ensure
: Whether the resource should exist or not
Valid values are `present`, `absent`.
fax\_numbers
: __Array of strings__ Fax numbers for the user. Single values are converted to arrays
first\_name
: __String__
full\_name
: __String__
gecos
: __String__ The string that will appear in the comment field on unix systems for the user
gid
: __Integer__ The user ID. If unset, will be inherited from the default group
home\_directory
: __String__ The users default login shell. i.e. /bin/bash. Defaults to /home/<user>
initials
: __String__
last\_name
: __String__
login\_shell
: __String__ The users default login shell. i.e. /bin/bash
mail
: __String__ The users email address. Defaults to <user>@domain
manager
: __String__ The users manager. This is an existing user
mobile\_numbers
: __Array of strings__ Mobile numbers for the user. Single values are converted to arrays
org\_unit
: __String__ The users organizational unit. Typically the department
pager\_numbers
: __Array of strings__ Pager numbers for the user. Single values are converted to arrays
password
: __String__ The initial password for hte account
provider
: The specific backend to use for this `ipa_user`
resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.Available providers are:
ipa
:
ssh\_public\_keys
: __Array of strings__ An array of ssh public keys for the user. This allows login without passwords providing the private key is present
state
: __String__ The users state of residence
street\_address
: __String__ The users street address. i.e. 57 Mount Pleasant Street
telephone\_numbers
: __Array of strings__ Telephone numbers for the user. Single values are converted to arrays
title
: __String__ Users title, i.e. Mr, Ms
uid
: __Integer__ The user ID. If unset, will be automatically generated
user
: (**Namevar:** If omitted, this parameter's value defaults to the resource's title.)
__String__ The username, i.e. jhughesj
usergroups
: __Array of strings__ An array of groups that the user belongs to
zip
: __String__ The users zip code / post code