Comment 5 for bug 1811207

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/rocky)

Reviewed: https://review.openstack.org/629961
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=60a0f973fdfc9253fcdb8a335668d89f203a5d27
Submitter: Zuul
Branch: stable/rocky

commit 60a0f973fdfc9253fcdb8a335668d89f203a5d27
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: I651919488cb68b0b9878b4e21ab376bfc6e3f0fe
    Closes-Bug: #1811207
    (cherry picked from commit a3aeb0b7faa6a817d7336d7fef86dd96bcf12731)