Merge "Use right command to validate a template file"
This commit is contained in:
commit
c4258fe7cd
@ -46,11 +46,17 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>You can also use the
|
<para>You can also use the
|
||||||
<command>stack-create</command> command to
|
<command>template-validate</command> command
|
||||||
validate a template file without creating a stack
|
to validate a template file without creating a
|
||||||
from it.</para>
|
stack from it.</para>
|
||||||
|
<note><para>Previous versions of the heat client
|
||||||
|
used <command>validate</command> instead of
|
||||||
|
<command>template-validate</command>, but
|
||||||
|
it has been deprecated in favor of
|
||||||
|
<command>template-validate</command>.
|
||||||
|
</para></note>
|
||||||
<para>To do so, run the following command:</para>
|
<para>To do so, run the following command:</para>
|
||||||
<screen><prompt>$</prompt> <userinput>heat stack-create mystack --template-file=/<replaceable>PATH_TO_HEAT_TEMPLATES</replaceable>/WordPress_Single_Instance.template</userinput></screen>
|
<screen><prompt>$</prompt> <userinput>heat template-validate --template-file=/<replaceable>PATH_TO_HEAT_TEMPLATES</replaceable>/WordPress_Single_Instance.template</userinput></screen>
|
||||||
<para>If validation fails, the response returns an
|
<para>If validation fails, the response returns an
|
||||||
error message.</para>
|
error message.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
Loading…
Reference in New Issue
Block a user