summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorhuangtianhua <huangtianhua@huawei.com>2017-06-23 14:26:51 +0800
committerhuangtianhua <huangtianhua@huawei.com>2017-06-23 14:26:51 +0800
commit306ee63083ba4e29bcaf0f1d1a2b7886fb5cc125 (patch)
tree4a919cced4e5a89f361d5d69a19991febbd7382f /doc/source
parent9960e7f509cd9f6b4e56b839eba8cabce8198b99 (diff)
downloadheat-306ee63083ba4e29bcaf0f1d1a2b7886fb5cc125.tar.gz
Add an example on how to use 'contains' as condition
This adds an example in docs on how to use newly added function 'contains' as condition. Change-Id: I9c5f314925f5b6592742cb4eb04e4c8247ec743c
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/template_guide/hot_spec.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/source/template_guide/hot_spec.rst b/doc/source/template_guide/hot_spec.rst
index 2507201e6..7c093ed9d 100644
--- a/doc/source/template_guide/hot_spec.rst
+++ b/doc/source/template_guide/hot_spec.rst
@@ -992,6 +992,10 @@ An example of conditions section definition
data:
services:
get_param: ServiceNames
+ cd10:
+ contains:
+ - 'neutron'
+ - get_param: ServiceNames
The example below shows how to associate condition with resources