Scenario templates: make is_proxy_gateway configurable

is_proxy_gateway is part of the environmental settings, so it should
be possible to override it from the scenario file. Nevertheless,
keep the default value as the current one, so that the existing jobs
work without changes.

Change-Id: I4cc20154c9ee0b126a1ea21ee72090f76cf6b6e1
This commit is contained in:
Luigi Toscano 2015-12-11 15:34:12 +01:00
parent 7bfc529185
commit ad45ef623b
7 changed files with 22 additions and 8 deletions

View File

@ -1,3 +1,5 @@
<%page args="is_proxy_gateway='true'"/>
clusters:
- plugin_name: cdh
plugin_version: 5.4.0
@ -44,7 +46,7 @@ clusters:
- YARN_NODEMANAGER
- ZOOKEEPER_SERVER
auto_security_group: true
is_proxy_gateway: true
is_proxy_gateway: ${is_proxy_gateway}
- name: master-additional
flavor: ${medium_flavor_id}
node_processes:

View File

@ -1,3 +1,5 @@
<%page args="is_proxy_gateway='true'"/>
clusters:
- plugin_name: fake
plugin_version: "0.1"
@ -17,7 +19,7 @@ clusters:
- jobtracker
- namenode
auto_security_group: true
is_proxy_gateway: true
is_proxy_gateway: ${is_proxy_gateway}
cluster_template:
name: fake01
node_group_templates:

View File

@ -1,3 +1,5 @@
<%page args="is_proxy_gateway='true'"/>
clusters:
- plugin_name: hdp
plugin_version: 2.0.6
@ -16,7 +18,7 @@ clusters:
- SECONDARY_NAMENODE
- ZOOKEEPER_SERVER
auto_security_group: true
is_proxy_gateway: true
is_proxy_gateway: ${is_proxy_gateway}
- name: worker
flavor: ${ci_flavor_id}
node_processes:

View File

@ -1,3 +1,5 @@
<%page args="is_proxy_gateway='true'"/>
clusters:
- plugin_name: mapr
plugin_version: 4.0.2.mrv2
@ -25,7 +27,7 @@ clusters:
auto_security_group: true
volumes_per_node: 2
volumes_size: 20
is_proxy_gateway: true
is_proxy_gateway: ${is_proxy_gateway}
- name: worker
flavor: ${ci_flavor_id}
node_processes:

View File

@ -1,3 +1,5 @@
<%page args="is_proxy_gateway='true'"/>
clusters:
- plugin_name: spark
plugin_version: 1.3.1
@ -9,7 +11,7 @@ clusters:
- master
- namenode
auto_security_group: true
is_proxy_gateway: true
is_proxy_gateway: ${is_proxy_gateway}
- name: worker
flavor: ${ci_flavor_id}
node_processes:

View File

@ -1,3 +1,5 @@
<%page args="is_proxy_gateway='true'"/>
clusters:
- plugin_name: vanilla
plugin_version: 2.7.1
@ -28,7 +30,7 @@ clusters:
- resourcemanager
- namenode
auto_security_group: true
is_proxy_gateway: true
is_proxy_gateway: ${is_proxy_gateway}
cluster_template:
name: transient
node_group_templates:

View File

@ -1,3 +1,5 @@
<%page args="is_proxy_gateway='true'"/>
clusters:
- plugin_name: vanilla
plugin_version: 2.7.1
@ -39,7 +41,7 @@ clusters:
- secondarynamenode
- nodemanager
auto_security_group: true
is_proxy_gateway: true
is_proxy_gateway: ${is_proxy_gateway}
cluster_template:
name: vanilla271
node_group_templates: