We already have special processing in place for out-of-tree environment
files and templates, but it didn't handle `get_file` (or `type`)
links. This commit adds that handling.
Heatclient automatically uses absolute `file:///` links when processing
the external environment files and other files referenced from them via
`get_file` or `type`. Because we upload all our environment files and
templates to Swift, such links don't work. We need to use relative links
in `get_file` and `type`.
Reviewed: https:/ /review. openstack. org/383813 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=73f30b72865 6f617db0d8c3f29 b0b1bd078b34c9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 73f30b728656f61 7db0d8c3f29b0b1 bd078b34c9
Author: Jiri Stransky <email address hidden>
Date: Fri Oct 7 18:29:46 2016 +0200
Fix get_file in out-of-tree templates
We already have special processing in place for out-of-tree environment
files and templates, but it didn't handle `get_file` (or `type`)
links. This commit adds that handling.
Heatclient automatically uses absolute `file:///` links when processing
the external environment files and other files referenced from them via
`get_file` or `type`. Because we upload all our environment files and
templates to Swift, such links don't work. We need to use relative links
in `get_file` and `type`.
Change-Id: I009f75cbc6278a 0a2ff75e93e1ed4 4f2c4893783
Closes-Bug: #1631426