Change group from root to barbican on config files

Recent changes in charms.openstack write configuration files with perms
0640; however without a group attribute on the client charm class, these
will root.root owned and this prevents the barbican-worker service from
starting.

Ensure that config files are written using root.barbican for this charm.

Change-Id: Iedce27a14b4a1adee30825274832ad3a3b606634
This commit is contained in:
Trent Lloyd 2018-08-16 14:59:59 +08:00
parent db02ec49a3
commit bef025ecc8
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ class BarbicanCharm(charms_openstack.charm.HAOpenStackCharm):
]),
}
group = "barbican"
def get_amqp_credentials(self):
"""Provide the default amqp username and vhost as a tuple.