puppet-tripleo/lib/puppet/parser/functions
Oliver Walsh 04db757836 Handle duplicate/invalid entries in migration SSH inbound addresses
An error (e.g a typo) in a custom tripleo-heat-templates environment
file could lead to an invalid match block in /etc/ssh/sshd_config.
SSH fails-safe and refuses all logins in this case.

This change validates the migration_ssh_localaddrs parameter is an
array of IP addresses and removes and duplicate entries.

Ica3f79d6d0cfae446e276172146f3a9407f2971f requires this to remove
duplicates.

Change-Id: Ibcf144d960fe52f0eab0d5015bd30cf7c1e37e25
Closes-Bug: #1688308
(cherry picked from commit 05e696c62d)
(cherry picked from commit 3d36307bcb)
2017-10-10 15:18:58 +01:00
..
extract_id.rb MidoNet services manifests 2015-11-23 11:53:07 +01:00
interface_for_ip.rb Adds IPv6 support for interface_for_ip function 2015-12-15 17:07:57 +11:00
list_to_hash.rb IPv6 dual-stack support 2016-04-19 14:36:38 +00:00
list_to_zookeeper_hash.rb MidoNet services manifests 2015-11-23 11:53:07 +01:00
local_fence_devices.rb Configure fencing devices 2015-06-12 18:40:50 +02:00
lookup_hiera_hash.rb Add lookup_hiera_hash function 2016-05-25 23:55:44 +02:00
tripleo_swift_devices.rb Convert ringbuilder to build devices array 2016-09-02 17:22:48 +02:00
validate_array_of_ips.rb Handle duplicate/invalid entries in migration SSH inbound addresses 2017-10-10 15:18:58 +01:00