From 53451df03ec38045fb0df397a23cc780d9e86672 Mon Sep 17 00:00:00 2001
From: zhubingbing <1392607554@qq.com>
Date: Tue, 27 Sep 2016 05:20:50 +0000
Subject: [PATCH] add aodh gnocchi barbican in heka.json.j2

TrivialFix

Change-Id: I956a1d535493e1b6d81ffdf71326f56e81568665
---
 ansible/roles/common/templates/heka.json.j2 | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/ansible/roles/common/templates/heka.json.j2 b/ansible/roles/common/templates/heka.json.j2
index 11a73c55e5..ec129bf1ca 100644
--- a/ansible/roles/common/templates/heka.json.j2
+++ b/ansible/roles/common/templates/heka.json.j2
@@ -15,6 +15,27 @@
             "owner": "heka",
             "perm": "0600"
         },
+        {
+            "source": "{{ container_config_directory }}/heka-aodh.toml",
+            "dest": "/etc/heka/heka-aodh.toml",
+            "owner": "heka",
+            "perm": "0600",
+            "optional": {{ (not enable_aodh | bool) | string | lower }}
+        },
+        {
+            "source": "{{ container_config_directory }}/heka-gnocchi.toml",
+            "dest": "/etc/heka/heka-gnocchi.toml",
+            "owner": "heka",
+            "perm": "0600",
+            "optional": {{ (not enable_gnocchi | bool) | string | lower }}
+        },
+        {
+            "source": "{{ container_config_directory }}/heka-barbican.toml",
+            "dest": "/etc/heka/heka-barbican.toml",
+            "owner": "heka",
+            "perm": "0600",
+            "optional": {{ (not enable_barbican | bool) | string | lower }}
+        },
         {
             "source": "{{ container_config_directory }}/heka-custom.toml",
             "dest": "/etc/heka/heka-custom.toml",