Default TARGET_STORAGE to etcd3 in etcd manifest

This commit is contained in:
Wojciech Tyczynski
2017-02-07 12:18:15 +01:00
parent c6f30d3750
commit 63531e56c5
4 changed files with 16 additions and 5 deletions

View File

@@ -20,7 +20,6 @@
{% endfor -%}
{% set etcd_cluster = vars.etcd_cluster -%}
{% set cluster_state = vars.cluster_state -%}
{% set storage_backend = pillar.get('storage_backend', 'etcd3') -%}
{% set quota_bytes = '' -%}
{% if pillar.get('storage_backend', 'etcd3') == 'etcd3' -%}
{% set quota_bytes = '--quota-backend-bytes=4294967296' -%}
@@ -52,7 +51,7 @@
],
"env": [
{ "name": "TARGET_STORAGE",
"value": "{{ storage_backend }}"
"value": "{{ pillar.get('storage_backend', 'etcd3') }}"
},
{ "name": "TARGET_VERSION",
"value": "{{ pillar.get('etcd_version', '3.0.14') }}"