SSHD Service extensions
authorlhinds <lhinds@redhat.com>
Wed, 8 Mar 2017 12:32:57 +0000 (12:32 +0000)
committerOliver Walsh <owalsh@redhat.com>
Fri, 21 Apr 2017 13:06:12 +0000 (14:06 +0100)
commit0e991f99b4b239838b5f775468f25025b3ad170b
tree40770740c407888d84a6ba01d5a3797c1f5357fb
parent11fbb033092bf1b45b092fc3b349a6f821503ef3
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
Related-Bug: 1668543
(cherry picked from commit b35bc80ac2acf18463e4c18c8360862749aa0964)
Puppetfile_extras
manifests/profile/base/sshd.pp
releasenotes/notes/sshd-437c531301f458bb.yaml
spec/classes/tripleo_profile_base_sshd_spec.rb