Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RANGER-5122: fixed path for images #521

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions security-admin/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ audit_solr_max_shards_per_node=$(get_prop 'audit_solr_max_shards_per_node' $PROP
audit_solr_acl_user_list_sasl=$(get_prop 'audit_solr_acl_user_list_sasl' $PROPFILE)
audit_solr_bootstrap_enabled=$(get_prop 'audit_solr_bootstrap_enabled' $PROPFILE)

xa_webapp_contextName=$(get_prop 'xa.webapp.contextName' $PROPFILE)

DB_HOST="${db_host}"

check_ret_status(){
Expand Down Expand Up @@ -610,6 +612,13 @@ update_properties() {
updatePropertyToFilePy $propertyName $newPropertyValue $to_file_ranger
fi

if [ "${xa_webapp_contextName}" != "" ]
then
propertyName=ranger.contextName
newPropertyValue="${xa_webapp_contextName}"
updatePropertyToFilePy $propertyName $newPropertyValue $to_file_default
fi

if [ "${db_ssl_enabled}" != "" ]
then
propertyName=ranger.db.ssl.enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = {
options: {
name: "[contenthash].[ext]",
outputPath: "images/",
publicPath: "../images/"
publicPath: "./images/"
}
}
]
Expand Down