aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/conf/cluster.conf
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/conf/cluster.conf')
-rw-r--r--deploy/conf/cluster.conf25
1 files changed, 13 insertions, 12 deletions
diff --git a/deploy/conf/cluster.conf b/deploy/conf/cluster.conf
index 200fae65..f741895b 100644
--- a/deploy/conf/cluster.conf
+++ b/deploy/conf/cluster.conf
@@ -1,18 +1,19 @@
+# for Operating System
export ADAPTER_OS_PATTERN=${ADAPTER_OS_PATTERN:-'(?i)ubuntu-14\.04\.3.*'}
-export ADAPTER_TARGET_SYSTEM_PATTERN="^openstack$"
+#export ADAPTER_OS_PATTERN=${ADAPTER_OS_PATTERN:-'(?i)CentOS-7.*15.*'}
+
+# trustry/centos7
+export OS_VERSION=${OS_VERSION:-"trusty"}
-export REPO_NAME=${REPO_NAME:-"trusty-juno-ppa"}
-export ADAPTER_NAME="openstack_juno"
-export ADAPTER_FLAVOR_PATTERN="HA-ansible-multinodes-juno"
-#export REPO_NAME=${REPO_NAME:-"trusty-liberty-ppa"}
-#export ADAPTER_NAME="openstack_liberty"
-#export ADAPTER_FLAVOR_PATTERN="HA-ansible-multinodes-liberty"
+# liberty/kilo/juno
+export OPENSTACK_VERSION=${OPENSTACK_VERSION:-"liberty"}
+
+# don't touch this
+export ADAPTER_TARGET_SYSTEM_PATTERN="^openstack$"
-#export ADAPTER_OS_PATTERN=${ADAPTER_OS_PATTERN:-'(?i)CentOS-7.*1503-01.*'}
-#export REPO_NAME=${REPO_NAME:-"centos7-kilo-ppa"}
-#export ADAPTER_NAME="openstack_kilo"
-#export ADAPTER_TARGET_SYSTEM_PATTERN="^openstack$"
-#export ADAPTER_FLAVOR_PATTERN="HA-ansible-multinodes-kilo"
+export REPO_NAME="$OS_VERSION-$OPENSTACK_VERSION-ppa"
+export ADAPTER_NAME="openstack_$OPENSTACK_VERSION"
+export ADAPTER_FLAVOR_PATTERN="HA-ansible-multinodes-$OPENSTACK_VERSION"
export DEFAULT_ROLES=""
export VIP="10.1.0.222"