aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/conf/cluster.conf
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-04-18 15:47:05 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-04-18 15:47:05 +0800
commit39d0f4c45d616f8c5bce7ca8db900a66705f439b (patch)
tree84cbccb038462f3177a6f212c97c3ec0bcc266c3 /deploy/conf/cluster.conf
parent3ede18e758c77b31e56ca9164dbeb8e06b0223b5 (diff)
Add option to choose deploy tool
JIRA: COMPASS-596 There may be different kinds of deploy tools that be supported in future release of compass. Using option DEPLOY_TOOL to choose a deploy tool thus specify which compass-tasks will be brought up Change-Id: I92b69ebad412e70ccd28ef864fb485e485705dc9 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/conf/cluster.conf')
-rw-r--r--deploy/conf/cluster.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/conf/cluster.conf b/deploy/conf/cluster.conf
index 0d947100..5178964c 100644
--- a/deploy/conf/cluster.conf
+++ b/deploy/conf/cluster.conf
@@ -10,6 +10,7 @@ fi
# pike
export OPENSTACK_VERSION=${OPENSTACK_VERSION:-"pike"}
+export DEPLOY_TOOL=${DEPLOY_TOOL:-"osa"}
# don't touch this
export ADAPTER_TARGET_SYSTEM_PATTERN="^openstack$"
@@ -25,6 +26,7 @@ export ADAPTER_FLAVOR_PATTERN="HA-ansible-multinodes-$OPENSTACK_VERSION"
if [[ "x"$KUBERNETES_VERSION != "x" ]]; then
unset OPENSTACK_VERSION
+ export DEPLOY_TOOL=${DEPLOY_TOOL:-"k8s"}
export ADAPTER_NAME=kubernetes
export ADAPTER_FLAVOR_PATTERN=ansible-kubernetes
export ADAPTER_TARGET_SYSTEM_PATTERN='^kubernetes$'