Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T1193
Change Details
Change Details
Old
New
Diff
After a demand by dereckson on irc, the objective is to simplify shelluser.sls to not use template. I will start to modify shellusers.sls then adapt the rest of salt to use it
After a demand by @dereckson on irc, the objective is to simplify [[ https://devcentral.nasqueron.org/diffusion/OPS/browse/master/pillar/users/shellusers.sls | shellusers.sls ]] to not use template. I will start to modify shellusers.sls then adapt the rest of salt to use it. Currently, [[ https://devcentral.nasqueron.org/diffusion/OPS/browse/master/pillar/users/shellusers.sls | shellusers.sls ]] contains if/else blocks to determine the shell to use. UNIX systems require absolute path for shell (when used as a login shell, it's the shell responsibility to define PATH or even to map what's written to a command in a path). These absolute paths vary by OS/distro. It would simplify the file syntax to create a `shells` entry to map.jinja, like we did in D962 (/etc directory) or D964 (systemd or rc?)
After a demand by
@
dereckson on irc, the objective is to
simplify
[[ https://devcentral.nasqueron.org/diffusion/OPS/browse/master/pillar/users/shellusers.sls |
shelluser
s
.sls
]]
to not use template. I will start to modify shellusers.sls then adapt the rest of salt to use it
. Currently, [[ https://devcentral.nasqueron.org/diffusion/OPS/browse/master/pillar/users/shellusers.sls | shellusers.sls ]] contains if/else blocks to determine the shell to use. UNIX systems require absolute path for shell (when used as a login shell, it's the shell responsibility to define PATH or even to map what's written to a command in a path). These absolute paths vary by OS/distro. It would simplify the file syntax to create a `shells` entry to map.jinja, like we did in D962 (/etc directory) or D964 (systemd or rc?)
Continue