commit | 82ce4b1f351c31854a2dfd44254908edef03ff4a | [log] [tgz] |
---|---|---|
author | Svimba <psvimbersky@mirantis.com> | Wed Jul 04 22:07:38 2018 +0200 |
committer | Svimba <psvimbersky@mirantis.com> | Wed Jul 04 22:09:30 2018 +0200 |
tree | 272d6372b6a58fbda30da69966d6e298590ce9bf | |
parent | f8ceeb54e03530a1449a2ac72f8a10e4f69d79c4 [diff] |
Fix minimum_diskGB for config-nodemgr Change-Id: Ic56ee1b2154ba4cae94c3c64f9f8df06ab0cfeba
diff --git a/opencontrail/files/4.0/contrail-config-nodemgr.conf b/opencontrail/files/4.0/contrail-config-nodemgr.conf index d5d632f..f7f8034 100644 --- a/opencontrail/files/4.0/contrail-config-nodemgr.conf +++ b/opencontrail/files/4.0/contrail-config-nodemgr.conf
@@ -1,3 +1,8 @@ {%- from "opencontrail/map.jinja" import config with context %} +{%- if pillar.opencontrail.database is defined and config.version >= 4.0 %} +[DEFAULTS] +minimum_diskGB={{ pillar.opencontrail.database.get('minimum_disk', 80) }} +{%- endif %} + [COLLECTOR] server_list={% for member in config.analytics.members %}{{ member.host }}:8086 {% endfor %}