Page MenuHomeDevCentral

Print MOTD through OpenSSH when needed
ClosedPublic

Authored by dereckson on Oct 29 2017, 19:42.
Tags
None
Referenced Files
F12487996: D1130.id2889.diff
Sat, Nov 8, 03:21
F12481644: D1130.id2886.diff
Fri, Nov 7, 21:48
F12475232: D1130.id2885.diff
Fri, Nov 7, 17:21
F12473796: D1130.id2885.diff
Fri, Nov 7, 16:08
F12470765: D1130.diff
Fri, Nov 7, 14:07
Unknown Object (File)
Fri, Nov 7, 08:35
Unknown Object (File)
Fri, Nov 7, 08:04
Unknown Object (File)
Thu, Nov 6, 18:12
Subscribers
None

Details

Summary

This change introduces in the Jinja2 map a new capabilities
dictionary to explain what an OS/distribution does or doesn't not.

PrintMotd will be set at yes or no according the MOTD-printed-at-login
capability.

Test Plan

Ensure Debian receives a PrintMotd no, and FreeBSD a PrintMotd yes.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
test-sshd-motd
Build Status
Buildable 1781
Build 2029: arc lint + arc unit

Event Timeline

Protect yes/no to avoid substitution by a boolean

Move to template (quote count: 1)

Simplify configuration ; it's more natural template takes care of the yes/no

This revision is now accepted and ready to land.Oct 29 2017, 20:40
This revision was automatically updated to reflect the committed changes.