Disable SSH login for nova_migration user when migration over ssh is disabled.
authorOliver Walsh <owalsh@redhat.com>
Thu, 4 May 2017 19:21:51 +0000 (20:21 +0100)
committerOliver Walsh <owalsh@redhat.com>
Fri, 5 May 2017 11:36:05 +0000 (12:36 +0100)
commitfe8edab1f4c761dcd6bad8eb6ccadd62627b077a
tree48c07e3f595e600c0beed8dc52b588ec698c8b12
parentf8ca94a5b7c7658631f5b0a9b010251ebbcff65e
Disable SSH login for nova_migration user when migration over ssh is disabled.

If migration over ssh is enabled, and then later disabled, the ssh config
for the nova_migration user remains intact. This change clobbers the migration
SSH key to disable login when it is not necessary.

Change-Id: Icc6d5d4f4671b3525a731d334ca6fa7c5419dac3
Closes-Bug: #1688321
manifests/profile/base/nova.pp
spec/classes/tripleo_profile_base_nova_spec.rb