Re: [Openstack] compiler for heat templates

2018-03-20 Thread Zane Bitter
On 20/03/18 04:53, Sashan Govender wrote: Hi Is there a way to check heat templates. At the moment I run one and it errors at runtime when, for example an something expects a string but gets a list. For example in this case of an OS::Heat::SoftwareConfig resource, the config attribute below e

Re: [Openstack] compiler for heat templates

2018-03-20 Thread Eugen Block
Have you tried the option "--dry-run"? This also provides log output and could help you identify issues. Zitat von Sashan Govender : Hi Is there a way to check heat templates. At the moment I run one and it errors at runtime when, for example an something expects a string but gets a list. F

Re: [Openstack] compiler for heat templates

2018-03-20 Thread Sashan Govender
Compiler's probably the wrong word in the subject - I just meant 'something that can do type checking'. On Tue, 20 Mar 2018 at 19:53 Sashan Govender wrote: > Hi > > Is there a way to check heat templates. At the moment I run one and it > errors at runtime when, for example an something expects a

[Openstack] compiler for heat templates

2018-03-20 Thread Sashan Govender
Hi Is there a way to check heat templates. At the moment I run one and it errors at runtime when, for example an something expects a string but gets a list. For example in this case of an OS::Heat::SoftwareConfig resource, the config attribute below expects a string, which is why str_replace works