mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-224: Refactor installer role to work around various quirks.
This commit is contained in:
@@ -12,5 +12,5 @@
|
||||
roles:
|
||||
- role: linux_common
|
||||
- role: product_common
|
||||
- role: tgz_download
|
||||
- role: installer_download
|
||||
- role: jira_config
|
||||
|
||||
@@ -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