Sync charm-helpers
Change-Id: Ie9bc97be37d86599bc1c961972370d1e1e49b5fd
This commit is contained in:
parent
6f529e8ae9
commit
ea08e0af12
@ -46,8 +46,9 @@ def get_audits():
|
|||||||
context = ApacheConfContext()
|
context = ApacheConfContext()
|
||||||
settings = utils.get_settings('apache')
|
settings = utils.get_settings('apache')
|
||||||
audits = [
|
audits = [
|
||||||
FilePermissionAudit(paths='/etc/apache2/apache2.conf', user='root',
|
FilePermissionAudit(paths=os.path.join(
|
||||||
group='root', mode=0o0640),
|
settings['common']['apache_dir'], 'apache2.conf'),
|
||||||
|
user='root', group='root', mode=0o0640),
|
||||||
|
|
||||||
TemplatedFile(os.path.join(settings['common']['apache_dir'],
|
TemplatedFile(os.path.join(settings['common']['apache_dir'],
|
||||||
'mods-available/alias.conf'),
|
'mods-available/alias.conf'),
|
||||||
|
Loading…
Reference in New Issue
Block a user