Add 'optional' param for mariadb heka conf

If one is using an existing or alternative mysql deployment and sets
enable_mariadb to false, heka would fail to deploy.

TrivialFix

Change-Id: Ieb793e11a40358e5d4fc1f3955f200e2cddef4f5
This commit is contained in:
Paul Bourke 2016-07-15 11:02:59 +01:00
parent 5e0c985dd0
commit 5d5b209823

View File

@ -45,7 +45,8 @@
"source": "{{ container_config_directory }}/heka-mariadb.toml",
"dest": "/etc/heka/heka-mariadb.toml",
"owner": "heka",
"perm": "0600"
"perm": "0600",
"optional": {{ (not enable_mariadb | bool) | string | lower }}
},
{
"source": "{{ container_config_directory }}/heka-keystone.toml",