Page MenuHomeDevCentral

Provision users and groups to servers
ClosedPublic

Authored by dereckson on Nov 10 2017, 02:10.
Tags
None
Referenced Files
F2827961: D1187.id3039.diff
Fri, Apr 19, 02:09
F2827418: D1187.id3042.diff
Fri, Apr 19, 00:04
F2827285: D1187.id3040.diff
Thu, Apr 18, 23:33
F2827016: D1187.id3041.diff
Thu, Apr 18, 22:24
Unknown Object (File)
Wed, Apr 17, 22:54
Unknown Object (File)
Wed, Apr 17, 22:54
Unknown Object (File)
Wed, Apr 17, 11:22
Unknown Object (File)
Mon, Apr 15, 07:19
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 Passed
Unit
No Test Coverage
Branch
acl
Build Status
Buildable 1875
Build 2123: arc lint + arc unit

Event Timeline

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

roles/saltmaster/account/init.sls
21

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.