Page MenuHomeDevCentral

Provision users and groups to servers
ClosedPublic

Authored by dereckson on Nov 10 2017, 02:10.
Tags
None
Referenced Files
F3746341: D1187.id3039.diff
Fri, Nov 15, 20:21
F3746327: D1187.id3040.diff
Fri, Nov 15, 20:16
F3745359: D1187.id3042.diff
Fri, Nov 15, 14:25
Unknown Object (File)
Tue, Nov 12, 05:18
Unknown Object (File)
Thu, Nov 7, 12:23
Unknown Object (File)
Thu, Nov 7, 11:46
Unknown Object (File)
Thu, Oct 31, 09:57
Unknown Object (File)
Wed, Oct 30, 08:02
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.