commit a3aeb0b7faa6a817d7336d7fef86dd96bcf12731
Author: Harald Jensås <email address hidden>
Date: Thu Jan 10 12:22:46 2019 +0100
Filter apache_certificates_specs if hostname is empty
Not all roles have all networks, when creating certificates
we need to filter out certificate specs where the hiera
lookup returns 'nil'.
Previously we created noop resources with fallback to the
ctlplane network for all networks defined in network data.
So the hiera lookup returned a hostname for all networks
no matter if the roles data included that network. This is
no longer the case, so we need to filter.
Bonus, we no longer create certificates that are'nt actually
used.
Reviewed: https:/ /review. openstack. org/629835 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=a3aeb0b7faa 6a817d7336d7fef 86dd96bcf12731
Committed: https:/
Submitter: Zuul
Branch: master
commit a3aeb0b7faa6a81 7d7336d7fef86dd 96bcf12731
Author: Harald Jensås <email address hidden>
Date: Thu Jan 10 12:22:46 2019 +0100
Filter apache_ certificates_ specs if hostname is empty
Not all roles have all networks, when creating certificates
we need to filter out certificate specs where the hiera
lookup returns 'nil'.
Previously we created noop resources with fallback to the
ctlplane network for all networks defined in network data.
So the hiera lookup returned a hostname for all networks
no matter if the roles data included that network. This is
no longer the case, so we need to filter.
Bonus, we no longer create certificates that are'nt actually
used.
Change-Id: I651919488cb68b 0b9878b4e21ab37 6bfc6e3f0fe
Closes-Bug: #1811207