Sync charm-helpers

Change-Id: Ieb434ea3859518c7594bb877e695339aaba99d2d
This commit is contained in:
Ryan Beisner 2017-08-24 17:14:31 -05:00
parent d5072e4030
commit 99108164c6
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'),