Ask Your Question

Different Deployment model in heat

asked 2014-08-25 02:31:54 -0500

Rohit Pande gravatar image

Hi All,

I have two installable and there are two possible ways to deploy these.

  1. Both installable in a single Instance.
  2. Different instance per installable

I want the user to pass one of these two options as input parameter and based on user choice, appropriate stack should be build automatically.

How can I achieve it in a single heat template.

Thanks in Advanced Rohit

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-19 06:05:45 -0500

pas-ha gravatar image

I'm affraid that not going to work with Heat currently - the template language is strictly declarative, so there is no possibility to have an if..else type of logic in the Heat template. You can take a look at Mistral though - it is Workflow-as-a-service for OpenStack, so its WorkFlows can fit your bill, plus Heat comminuty is in the progress of adding Mistral-specific resources for Heat.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-08-25 02:31:54 -0500

Seen: 71 times

Last updated: Jan 19 '15