Page MenuHomeDevCentral

Print MOTD through OpenSSH when needed
ClosedPublic

Authored by dereckson on Oct 29 2017, 19:42.
Tags
None
Referenced Files
F27127339: D1130.id2887.diff
Wed, Apr 29, 11:15
F27127331: D1130.id2886.diff
Wed, Apr 29, 11:14
F27124202: D1130.id2888.diff
Wed, Apr 29, 10:11
F27120848: D1130.diff
Wed, Apr 29, 09:00
F27115373: D1130.id2885.diff
Wed, Apr 29, 07:40
F27115366: D1130.id2887.diff
Wed, Apr 29, 07:40
F27115365: D1130.id2889.diff
Wed, Apr 29, 07:40
Unknown Object (File)
Mon, Apr 27, 00:27
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.