aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/common/templates/heka.json.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/common/templates/heka.json.j2 b/ansible/roles/common/templates/heka.json.j2
index 94bd31d1e..a23162d01 100644
--- a/ansible/roles/common/templates/heka.json.j2
+++ b/ansible/roles/common/templates/heka.json.j2
@@ -19,7 +19,8 @@
"source": "{{ container_config_directory }}/heka-haproxy.toml",
"dest": "/etc/heka/heka-haproxy.toml",
"owner": "heka",
- "perm": "0600"
+ "perm": "0600",
+ "optional": {{ (not enable_haproxy | bool) | string | lower }}
},
{
"source": "{{ container_config_directory }}/heka-rabbitmq.toml",