mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-21 17:17:28 +01:00
uninitialised value POSTGRES_DIR
This commit is contained in:
parent
10b36b0f4d
commit
035f6412f7
@ -66,6 +66,8 @@ done
|
|||||||
|
|
||||||
# setup default parameters
|
# setup default parameters
|
||||||
KOJI_HUB_FQDN="$(hostname -f)"
|
KOJI_HUB_FQDN="$(hostname -f)"
|
||||||
|
HTTPD_USER=apache
|
||||||
|
HTTPD_DOCUMENT_ROOT=/var/www/html
|
||||||
KOJI_DIR="/mnt/koji"
|
KOJI_DIR="/mnt/koji"
|
||||||
TAG_NAME="sme"
|
TAG_NAME="sme"
|
||||||
RPM_ARCH="x86_64 noarch"
|
RPM_ARCH="x86_64 noarch"
|
||||||
@ -74,13 +76,15 @@ SRC_RPM_DIR=
|
|||||||
BIN_RPM_DIR=
|
BIN_RPM_DIR=
|
||||||
DEBUG_RPM_DIR=
|
DEBUG_RPM_DIR=
|
||||||
EXTERNAL_REPO="http://buildsys.koozali.org/build/7/os/\$arch/"
|
EXTERNAL_REPO="http://buildsys.koozali.org/build/7/os/\$arch/"
|
||||||
|
POSTGRES_USER=postgres
|
||||||
|
POSTGRES_DIR=/var/lib/pgsql
|
||||||
|
|
||||||
# create the parameter script used by koji scripts
|
# create the parameter script used by koji scripts
|
||||||
cat > $SCRIPT_DIR/koji-parameters.sh <<- EOT
|
cat > $SCRIPT_DIR/koji-parameters.sh <<- EOT
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## HTTPD settings
|
## HTTPD settings
|
||||||
export HTTPD_USER=apache
|
export HTTPD_USER=$HTTPD_USER
|
||||||
export HTTPD_DOCUMENT_ROOT=/var/www/html
|
export HTTPD_DOCUMENT_ROOT=$HTTPD_DOCUMENT_ROOT
|
||||||
## KOJI RPM BUILD AND TRACKER
|
## KOJI RPM BUILD AND TRACKER
|
||||||
export SCRIPT_GIT=$SCRIPT_GIT
|
export SCRIPT_GIT=$SCRIPT_GIT
|
||||||
export KOJI_DIR=$KOJID_DIR
|
export KOJI_DIR=$KOJID_DIR
|
||||||
@ -89,7 +93,7 @@ export KOJI_URL=http://"$KOJI_HUB_FQDN"
|
|||||||
export KOJID_CAPACITY=$KOJID_CAPACITY
|
export KOJID_CAPACITY=$KOJID_CAPACITY
|
||||||
export TAG_NAME=$TAG_NAME
|
export TAG_NAME=$TAG_NAME
|
||||||
# Use for koji SSL certificates
|
# Use for koji SSL certificates
|
||||||
export KOJI_PKI_DIR=/etc/pki/koji
|
export KOJI_PKI_DIR=$KOJI_PKI_DIR
|
||||||
export COUNTRY_CODE='$COUNTRY_CODE'
|
export COUNTRY_CODE='$COUNTRY_CODE'
|
||||||
export STATE='$STATE'
|
export STATE='$STATE'
|
||||||
export LOCATION='$LOCATION'
|
export LOCATION='$LOCATION'
|
||||||
@ -103,8 +107,8 @@ export DEBUG_RPM_DIR=$DEBUG_PRM_DIR
|
|||||||
# Comment the following if supplying all RPMs as an upstream and not a downstream
|
# Comment the following if supplying all RPMs as an upstream and not a downstream
|
||||||
export EXTERNAL_REPO=$EXTERNAL_REPO
|
export EXTERNAL_REPO=$EXTERNAL_REPO
|
||||||
## POSTGRESQL DATABASE
|
## POSTGRESQL DATABASE
|
||||||
export POSTGRES_USER=postgres
|
export POSTGRES_USER=$POSTGRES_USER
|
||||||
export POSTGRES_DIR=/var/lib/pgsql
|
export POSTGRES_DIR=$POSTGRES_DIR
|
||||||
EOT
|
EOT
|
||||||
chmod o+x $SCRIPT_DIR/koji-parameters.sh
|
chmod o+x $SCRIPT_DIR/koji-parameters.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user