Page MenuHomeDevCentral

Map shells by OS
ClosedPublic

Authored by dereckson on Apr 27 2017, 22:23.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 06:03
Unknown Object (File)
Mon, Dec 16, 03:45
Unknown Object (File)
Thu, Dec 12, 09:58
Unknown Object (File)
Tue, Dec 10, 17:20
Unknown Object (File)
Sun, Dec 8, 00:04
Unknown Object (File)
Sat, Dec 7, 13:57
Unknown Object (File)
Sat, Dec 7, 07:43
Unknown Object (File)
Fri, Dec 6, 22:19
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 Not Applicable
Unit
Tests Not Applicable

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.