Page MenuHomeDevCentral

Map shells by OS
ClosedPublic

Authored by dereckson on Apr 27 2017, 22:23.
Tags
None
Referenced Files
F3773760: D974.diff
Sun, Nov 24, 08:23
Unknown Object (File)
Tue, Nov 19, 07:46
Unknown Object (File)
Mon, Nov 18, 11:47
Unknown Object (File)
Mon, Nov 18, 08:36
Unknown Object (File)
Sun, Nov 17, 21:09
Unknown Object (File)
Sat, Nov 16, 05:18
Unknown Object (File)
Sat, Nov 16, 02:42
Unknown Object (File)
Fri, Nov 15, 16:22
Subscribers

Details

Summary

Currently, the users list provide absolute, linux-centric paths
to the shell. Instead, we store only now the shell name, and
provide a map to resolve this shell name by OS.

Signed-off-by: Sébastien Santoro <dereckson@espace-win.org>

Test Plan

Apply roles/shellserver/users state, check no shell change.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
arcpatch-D974
Build Status
Buildable 1592
Build 1840: arc lint + arc unit

Event Timeline

So next step is to create a map in map.jinja file, with paths for 2 or 3 families, "debian", "freebsd" and perhaps "fedora" so we cover Dwellers too, a CentOS machine, but I'm not sure it's different than Debian.

dereckson added a reviewer: xcombelle.
  • provide a map
  • use the map in users role
dereckson edited the test plan for this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)
dereckson retitled this revision from adapt shellusers.sls to remove the need of template to Map shells by OS.
dereckson edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Sep 16 2017, 10:11
This revision was automatically updated to reflect the committed changes.