Ask Your Question
0

What is the best way to use template composition with heat interface ?

asked 2015-10-16 08:39:53 -0500

matthieu jacquart gravatar image

Heat interface doesn't allow to load severals files. What is the best way to expose a composed template ? At now, I use http server.

edit retag flag offensive close merge delete

Comments

1

Using the dashboard or the CLI ?

Using the dashboard I upload the other yaml files to a web server (GitHub, in my case) and then use the URL to call them. Using the CLI is easier, you only need to put the files in the same directory of the main yaml.

herrsergio gravatar imageherrsergio ( 2015-10-19 11:34:40 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-01 12:02:27 -0500

zaneb gravatar image

Heat actually does support loading multiple files, with the additional ones included under the "files" key in the API: http://developer.openstack.org/api-re...

The Heat client will automatically include any files referenced in the template in this section when you create/update the stack. So if you're using the CLI client then it is probably doing this already with the files from your webserver, and nothing would change if you just changed them to local (file:///) URLs.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-10-16 08:39:53 -0500

Seen: 150 times

Last updated: Feb 01 '16