Comment 6 for bug 1811207

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

Reviewed: https://review.openstack.org/629962
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=adfca27bd0d3ccdea8b57541a34c3cd13a7e1bb1
Submitter: Zuul
Branch: stable/queens

commit adfca27bd0d3ccdea8b57541a34c3cd13a7e1bb1
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)