Page MenuHomeDevCentral

Map shells by OS
ClosedPublic

Authored by dereckson on Apr 27 2017, 22:23.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 18:01
Unknown Object (File)
Mon, Nov 25, 18:01
Unknown Object (File)
Mon, Nov 25, 18:01
Unknown Object (File)
Mon, Nov 25, 18:01
Unknown Object (File)
Mon, Nov 25, 17:29
Unknown Object (File)
Mon, Nov 25, 17:24
Unknown Object (File)
Sun, Nov 24, 12:02
Unknown Object (File)
Sun, Nov 24, 11:32
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.