SSHD Service extensions
authorlhinds <lhinds@redhat.com>
Wed, 8 Mar 2017 12:32:57 +0000 (12:32 +0000)
committerlhinds <lhinds@redhat.com>
Tue, 4 Apr 2017 15:18:26 +0000 (16:18 +0100)
commitb35bc80ac2acf18463e4c18c8360862749aa0964
treee9a71e311c0b7b4d01d7720d31876bdf0fd3939c
parentd9916ce77373f0f754486da73014e815f8ae7b54
SSHD Service extensions

This change adds an `include` statement to bring in the extra
functionality available from the existing puppet-ssh module in
already available in RDO.

By using puppet-ssh it provides a framework to allow the passing in of
server options using just hiera values under ssh::server_options.
For example, sshd_config banner can now be passed a server option, as
well as all the new parameters outlined in the launchpad issue that
the patch references for Closing. For this reason, the former augeas
setting for `Banner /etc/issue` is now managed by the main puppet-ssh
module instead.

The change also allows population of MOTD text to `/etc/motd` as
well as `issue.net`.

$bannertext is refactored in accordance with patch [1]

[1] https://review.openstack.org/#/c/442406/

Change-Id: Id329538fb7b623526f1d91d8a513cf3440c86a7c
Closes-Bug: 1668543
Puppetfile_extras
manifests/profile/base/sshd.pp
releasenotes/notes/sshd-437c531301f458bb.yaml
spec/classes/tripleo_profile_base_sshd_spec.rb