Adding system user barbican
The patch creates barbican user to be used during barbican
installation due to the fact that since Queens while secret
db sync is executed by salt with uid root and nss_db is created
as well during this process therefore as a result nss_db is
inaccessible for barbican process.
Change-Id: Idc387e7ae10f7c1084c75f2011abdc8081088bda
Related-PROD: PROD-23538
diff --git a/barbican/server/cluster.yml b/barbican/server/cluster.yml
index 7e4c0e4..f540de2 100644
--- a/barbican/server/cluster.yml
+++ b/barbican/server/cluster.yml
@@ -40,3 +40,15 @@
python-pymysql:
fromrepo: ${_param:openstack_version}
version: latest
+ user:
+ barbican:
+ enabled: true
+ name: barbican
+ home: /var/lib/barbican
+ shell: /bin/bash
+ system: True
+ group:
+ barbican:
+ enabled: true
+ name: barbican
+ system: True