fix cagettepei
This commit is contained in:
@@ -5,7 +5,7 @@ function check_db_maria_exists() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function check_db_postgres_exists() {
|
function check_db_postgres_exists() {
|
||||||
db-psql list | grep -q "$1"
|
db-psql list | grep -q "^$1$"
|
||||||
}
|
}
|
||||||
|
|
||||||
function extract_domain_from_fqdn() {
|
function extract_domain_from_fqdn() {
|
||||||
|
|||||||
@@ -468,9 +468,7 @@ function prepare_containers() {
|
|||||||
service="${item[$j]}"
|
service="${item[$j]}"
|
||||||
recipe_install="$MIAOU_BASEDIR/recipes/$service/install.sh"
|
recipe_install="$MIAOU_BASEDIR/recipes/$service/install.sh"
|
||||||
if [[ -f "$recipe_install" ]]; then
|
if [[ -f "$recipe_install" ]]; then
|
||||||
echowarn "container <$container> installing new recipe [$service]..."
|
|
||||||
"$recipe_install" "$container"
|
"$recipe_install" "$container"
|
||||||
echoinfo DONE
|
|
||||||
else
|
else
|
||||||
echoerr "FAILURE, for container <$container>, install recipe [$service] not found!"
|
echoerr "FAILURE, for container <$container>, install recipe [$service] not found!"
|
||||||
echoerr "please review configuration, mismatch recipe name maybe?"
|
echoerr "please review configuration, mismatch recipe name maybe?"
|
||||||
|
|||||||
Reference in New Issue
Block a user