Changed sahara_plugins type for list

This commit is contained in:
Flávio Ramalho 2016-05-13 11:15:19 -03:00
parent 15c7917f30
commit 3ee5d3a93e
2 changed files with 10 additions and 2 deletions

View File

@ -106,11 +106,19 @@ sahara_keystone_auth_plugin: password
sahara_use_floating_ips: False
sahara_use_neutron: True
sahara_use_namespaces: False
sahara_plugins: vanilla,spark,cdh,ambari
sahara_global_remote_threshold: 100
sahara_cluster_remote_threshold: 70
sahara_os_region_name: "{{ sahara_service_region }}"
# Other plugins can be added to the system by simply extending the list `sahara_plugin_base`.
sahara_plugin_base:
- vanilla
- spark
- cdh
- ambari
sahara_plugin_loaded_base: "{% for plugin in sahara_plugin_base %}{{ plugin }}{% if not loop.last %},{% endif %}{% endfor %}"
# If ``sahara_api_workers`` is unset the system will use half the number of available VCPUS to
# compute the number of api workers to use.
# sahara_api_workers: 16

View File

@ -14,7 +14,7 @@ workers = {{ sahara_api_workers | default(api_threads) }}
use_floating_ips = {{ sahara_use_floating_ips }}
use_neutron = {{ sahara_use_neutron }}
use_namespaces = {{ sahara_use_namespaces }}
plugins = {{ sahara_plugins }}
plugins = {{ sahara_plugin_loaded_base }}
global_remote_threshold = {{ sahara_global_remote_threshold }}
cluster_remote_threshold = {{ sahara_cluster_remote_threshold }}
os_region_name = {{ sahara_os_region_name }}