Comment 3 for bug 1940042

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-puppet (master)

Reviewed: https://review.opendev.org/c/starlingx/stx-puppet/+/804528
Committed: https://opendev.org/starlingx/stx-puppet/commit/45480fc82d642a5f9a30a5b327ea50b8f1b887bd
Submitter: "Zuul (22348)"
Branch: master

commit 45480fc82d642a5f9a30a5b327ea50b8f1b887bd
Author: Daniel Safta <email address hidden>
Date: Fri Aug 13 14:23:41 2021 +0000

    check value of kubernetes host labels

    Before this commit the logic was just based on
    checking that a key exists in the hieradata
    (e.g. openstack-compute-node) but its value was
    not available there, so the value can not be
    checked to see if it is enabled or disabled.

    Another commit added support for the values of
    the labels in the hieradata and this commmit
    addresses the changes required in the puppet
    code to make checks based on both key and
    its value.

    Closes-bug: 1940042
    Change-Id: Iefbcb1cde7db27250d9a3629472810d20f202048
    Signed-off-by: Daniel Safta <email address hidden>
    Depends-on: https://review.opendev.org/c/starlingx/config/+/804526