Sync charm-helpers

Change-Id: I6ecd27d221b85da1b399c1de013ae65fcb500135
This commit is contained in:
Ryan Beisner 2017-08-24 16:48:44 -05:00
parent f03e841dd5
commit 30f7d5fec9
1 changed files with 3 additions and 2 deletions

View File

@ -46,8 +46,9 @@ def get_audits():
context = ApacheConfContext()
settings = utils.get_settings('apache')
audits = [
FilePermissionAudit(paths='/etc/apache2/apache2.conf', user='root',
group='root', mode=0o0640),
FilePermissionAudit(paths=os.path.join(
settings['common']['apache_dir'], 'apache2.conf'),
user='root', group='root', mode=0o0640),
TemplatedFile(os.path.join(settings['common']['apache_dir'],
'mods-available/alias.conf'),