opensearch: alter path after using rpm/deb packaging

opensearch-dashboards now use a dedicated user

Depends-On: https://review.opendev.org/c/openstack/kolla/+/883941
Change-Id: I6908f52f824a97a5a4a2bead92b7b2e5cdebdb9f
This commit is contained in:
Michal Nasiadka 2023-05-23 16:21:17 +02:00
parent f849403a92
commit 1769a49115
3 changed files with 9 additions and 9 deletions

View File

@ -1,22 +1,22 @@
{
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch/opensearch_dashboards.yml",
"command": "/usr/share/opensearch-dashboards/bin/opensearch-dashboards --config /etc/opensearch-dashboards/opensearch_dashboards.yml",
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch_dashboards.yml",
"dest": "/etc/opensearch/opensearch_dashboards.yml",
"owner": "opensearch",
"dest": "/etc/opensearch-dashboards/opensearch_dashboards.yml",
"owner": "opensearch-dashboards",
"perm": "0640"
}
],
"permissions": [
{
"path": "/var/log/kolla/opensearch",
"owner": "opensearch:opensearch",
"path": "/var/log/kolla/opensearch-dashboards",
"owner": "opensearch-dashboards:opensearch-dashboards",
"recurse": true
},
{
"path": "/usr/share/opensearch/dashboards/optimize/bundles",
"owner": "opensearch:opensearch",
"path": "/usr/share/opensearch-dashboards/optimize/bundles",
"owner": "opensearch-dashboards:opensearch-dashboards",
"recurse": true
}
]

View File

@ -3,7 +3,7 @@
"config_files": [
{
"source": "{{ container_config_directory }}/opensearch.yml",
"dest": "/usr/share/opensearch/config/opensearch.yml",
"dest": "/etc/opensearch/opensearch.yml",
"owner": "opensearch",
"perm": "0600"
}

View File

@ -1,5 +1,5 @@
opensearchDashboards.defaultAppId: "{{ opensearch_dashboards_default_app_id }}"
logging.dest: /var/log/kolla/opensearch/opensearch-dashboards.log
logging.dest: /var/log/kolla/opensearch-dashboards/opensearch-dashboards.log
server.port: {{ opensearch_dashboards_port }}
server.host: "{{ api_interface_address }}"
opensearch.hosts: "{{ opensearch_internal_endpoint }}"