Fix group read permissions

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.

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

Change-Id: I5e680e7546ad66f087c1c15cd2db60428d50afb9
Closes-Bug: 1782644
This commit is contained in:
James Page 2018-07-20 10:17:03 -04:00
parent 03eed63156
commit 25aa3d1b5a
1 changed files with 2 additions and 0 deletions

View File

@ -346,6 +346,8 @@ class DesignateCharm(openstack_charm.HAOpenStackCharm):
]), ]),
} }
group = 'designate'
def __init__(self, release=None, **kwargs): def __init__(self, release=None, **kwargs):
"""Custom initialiser for class """Custom initialiser for class
If no release is passed, then the charm determines the release from the If no release is passed, then the charm determines the release from the