Page MenuHomeDevCentral

Print MOTD through OpenSSH when needed
ClosedPublic

Authored by dereckson on Oct 29 2017, 19:42.
Tags
None
Referenced Files
F34940425: D1130.id2889.diff
Sat, Jul 4, 04:38
F34925652: D1130.id2888.diff
Sat, Jul 4, 01:20
F34921291: D1130.id2886.diff
Sat, Jul 4, 00:20
F34913485: D1130.diff
Fri, Jul 3, 22:37
F34902460: D1130.id.diff
Fri, Jul 3, 20:08
F34861133: D1130.diff
Fri, Jul 3, 13:02
F34849007: D1130.id2885.diff
Fri, Jul 3, 09:02
Unknown Object (File)
Fri, Jul 3, 05:02
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 Not Applicable
Unit
Tests Not Applicable

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.