Page MenuHomeDevCentral

Print MOTD through OpenSSH when needed
ClosedPublic

Authored by dereckson on Oct 29 2017, 19:42.
Tags
None
Referenced Files
F9595784: D1130.id.diff
Mon, Jun 9, 14:23
F9589309: D1130.id2888.diff
Mon, Jun 9, 06:06
Unknown Object (File)
Fri, Jun 6, 06:32
Unknown Object (File)
Wed, Jun 4, 08:45
Unknown Object (File)
Mon, Jun 2, 17:09
Unknown Object (File)
Sun, Jun 1, 19:37
Unknown Object (File)
Sat, May 31, 05:16
Unknown Object (File)
Sat, May 31, 02:19
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.