Set permissions correctly

This commit is contained in:
David Ames
2019-03-12 12:29:21 -07:00
parent 765d4413c4
commit d17e2981b2
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
*__pycache__*
*.pyc
build
src/tests/bundles/overlays/local-charm-overlay.yaml.j2

View File

@@ -271,6 +271,10 @@ class KeystoneSAMLMellonCharm(charms_openstack.charm.OpenStackCharm):
SP_PRIVATE_KEY: ('options', 'sp_private_key'),
}
# Render idp-metadata.xml and sp-private-key with www-data group
# ownership.
group = 'www-data'
def configuration_complete(self):
"""Determine whether sufficient configuration has been provided
via charm config options and resources.