From 6bc976aa0759b0e7c7167d4856bb85cf9fa7daea Mon Sep 17 00:00:00 2001
From: Christian Berendt <berendt@betacloud-solutions.de>
Date: Mon, 19 Sep 2016 20:58:06 +0200
Subject: [PATCH] Set ownership of barbican configuration files to barbican

Change-Id: I6fe7f0928812f816080ced76dec2659f2094276d
Closes-bug: #1625317
---
 ansible/roles/barbican/templates/barbican-api.json.j2           | 2 +-
 .../roles/barbican/templates/barbican-keystone-listener.json.j2 | 2 +-
 ansible/roles/barbican/templates/barbican-worker.json.j2        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ansible/roles/barbican/templates/barbican-api.json.j2 b/ansible/roles/barbican/templates/barbican-api.json.j2
index 8eb678dd67..2b022690df 100644
--- a/ansible/roles/barbican/templates/barbican-api.json.j2
+++ b/ansible/roles/barbican/templates/barbican-api.json.j2
@@ -4,7 +4,7 @@
         {
             "source": "{{ container_config_directory }}/barbican.conf",
             "dest": "/etc/barbican/barbican.conf",
-            "owner": "root",
+            "owner": "barbican",
             "perm": "0600"
         }
     ]
diff --git a/ansible/roles/barbican/templates/barbican-keystone-listener.json.j2 b/ansible/roles/barbican/templates/barbican-keystone-listener.json.j2
index f9f986b500..cb7cb3e210 100644
--- a/ansible/roles/barbican/templates/barbican-keystone-listener.json.j2
+++ b/ansible/roles/barbican/templates/barbican-keystone-listener.json.j2
@@ -4,7 +4,7 @@
         {
             "source": "{{ container_config_directory }}/barbican.conf",
             "dest": "/etc/barbican/barbican.conf",
-            "owner": "root",
+            "owner": "barbican",
             "perm": "0600"
         }
     ]
diff --git a/ansible/roles/barbican/templates/barbican-worker.json.j2 b/ansible/roles/barbican/templates/barbican-worker.json.j2
index 26c660e7c6..861cd6c7f0 100644
--- a/ansible/roles/barbican/templates/barbican-worker.json.j2
+++ b/ansible/roles/barbican/templates/barbican-worker.json.j2
@@ -4,7 +4,7 @@
         {
             "source": "{{ container_config_directory }}/barbican.conf",
             "dest": "/etc/barbican/barbican.conf",
-            "owner": "root",
+            "owner": "barbican",
             "perm": "0600"
         }
     ]