Page MenuHomeDevCentral

Provision users and groups to servers
ClosedPublic

Authored by dereckson on Nov 10 2017, 02:10.
Tags
None
Referenced Files
F3922630: D1187.diff
Sat, Dec 21, 04:03
Unknown Object (File)
Fri, Dec 13, 22:41
Unknown Object (File)
Fri, Dec 13, 16:24
Unknown Object (File)
Fri, Dec 13, 04:10
Unknown Object (File)
Thu, Dec 12, 17:26
Unknown Object (File)
Thu, Dec 12, 12:34
Unknown Object (File)
Mon, Dec 9, 15:49
Unknown Object (File)
Thu, Dec 5, 11:07
Subscribers
None

Details

Summary

Users are declared in one comprehensive file,
regardless where they have an account.

They are then included in groups.

Each forest, ie a set of nodes (servers), define the group they want.

On each node of this forest, users belonging to one group for this
forest will be created (and groups too).

Furthermore, some groups can be added in shellgroups_ubiquity to be
created on each forest.

Provide a forest execution module to get a list of users or groups.

Test Plan

States has been tested against Eglide and Ysul in test mode

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I forgot to commit the _test folder with the unit tests for forest.

roles/saltmaster/account/init.sls
24

group 9001 didn't exist anymroe in config

Drop Eglide (shellserver role) specific unit to create accounts.

dereckson marked an inline comment as done.

Restore salt group

This revision is now accepted and ready to land.Nov 12 2017, 22:58

Applied with success to Eglide.

Can't do on Ysul, as we need to create ZFS volumes for home directories too.

This revision was automatically updated to reflect the committed changes.