Page MenuHomeDevCentral

Provision users and groups to servers
ClosedPublic

Authored by dereckson on Nov 10 2017, 02:10.
Tags
None
Referenced Files
F2843600: D1187.id3042.diff
Tue, Apr 23, 08:21
Unknown Object (File)
Mon, Apr 22, 21:30
Unknown Object (File)
Mon, Apr 22, 20:03
Unknown Object (File)
Fri, Apr 19, 02:09
Unknown Object (File)
Fri, Apr 19, 00:04
Unknown Object (File)
Thu, Apr 18, 23:33
Unknown Object (File)
Thu, Apr 18, 22:24
Unknown Object (File)
Wed, Apr 17, 22:54
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.