DCD-224: Refactor installer role to work around various quirks.

This commit is contained in:
Steve Smith
2019-05-08 12:13:29 +10:00
parent a5eefe326e
commit 1aa2afc6f2
19 changed files with 86 additions and 68 deletions

View File

@@ -43,3 +43,11 @@ def test_server_file(host):
assert f.contains('scheme="http"')
assert not f.contains('proxyName=')
assert not f.contains('proxyPort=')
def test_install_permissions(host):
assert host.file('/opt/atlassian/jira-software/current/conf/server.xml').user == 'root'
assert host.file('/opt/atlassian/jira-software/current/atlassian-jira/WEB-INF/web.xml').user == 'root'
assert host.file('/opt/atlassian/jira-software/current/logs/').user == 'root'
assert host.file('/opt/atlassian/jira-software/current/work/').user == 'root'
assert host.file('/opt/atlassian/jira-software/current/temp/').user == 'root'