mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
DCD-224: Refactor installer role to work around various quirks.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user