Comment 8 for bug 1625783

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

Reviewed: https://review.openstack.org/383829
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=4abd0cd791a295f4fcfd0a5bf4ded6d3757f2d30
Submitter: Jenkins
Branch: master

commit 4abd0cd791a295f4fcfd0a5bf4ded6d3757f2d30
Author: Steven Hardy <email address hidden>
Date: Fri Oct 7 18:08:07 2016 +0100

    Allow referencing rendered yaml files in resource_registry

    For backwards compatibility we need a fallback when an environment
    file references a file that's *.j2.yaml in the user --templates dir
    but it's rendered via the plan generation and is then downloaded
    to the local temporary tree. In this case we've got to rewrite
    the paths in the resource_registry values to point to the new tree
    where the rendered templates exist.

    Without this logic, some environment files (such as those enabling
    swap for all roles) no longer work, so it's a backwards compatibility
    workaround.

    Change-Id: I560784dc49842113563f617b343702bb045fca76
    Closes-Bug: #1625783