diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-03-07 16:57:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-07 16:57:29 +0000 |
commit | 72d313cdeb92ef291442b8189d52ac23a7cc8b71 (patch) | |
tree | e227b52a6450f4167f4f71219fa2931fb2774820 /policy-management/src/main/server-gen/bin/features | |
parent | c90853392f06807467ae0a278fee378886370b71 (diff) | |
parent | 30cf6d7f7d77f1e83a84bfea8e991ca867c9a96c (diff) |
Merge "Tweaking scripts to install for pdpd-cl image"
Diffstat (limited to 'policy-management/src/main/server-gen/bin/features')
-rw-r--r-- | policy-management/src/main/server-gen/bin/features | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/policy-management/src/main/server-gen/bin/features b/policy-management/src/main/server-gen/bin/features index 861806aa..d9c6eb28 100644 --- a/policy-management/src/main/server-gen/bin/features +++ b/policy-management/src/main/server-gen/bin/features @@ -409,10 +409,9 @@ function enableDbAnalysis() return 0 fi - source "${POLICY_HOME}"/etc/profile.d/base.conf + source "${POLICY_HOME}"/etc/profile.d/env.sh if [[ -z ${SQL_HOST} ]] || [[ -z ${SQL_USER} ]] || [[ -z ${SQL_PASSWORD} ]]; then - echo "error: not existing configuration to contact the database" - return 2 + echo "warning: DB server is not configured" fi return 0 @@ -1086,7 +1085,7 @@ function installFeatures echo "feature ${name} has been installed (no configuration present)" fi - customOpScript "${featureName}" "install" + customOpScript "${name}" "install" done # check the current directory and the 'config' directory for a |