Skip to content

Commit b23054c

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Allow external ENV setup for conf files"
2 parents 4e81d24 + 668749a commit b23054c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lib/trove

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ fi
3333
GITDIR["python-troveclient"]=$DEST/python-troveclient
3434

3535
TROVE_DIR=$DEST/trove
36-
TROVE_CONF_DIR=/etc/trove
37-
TROVE_CONF=$TROVE_CONF_DIR/trove.conf
38-
TROVE_TASKMANAGER_CONF=$TROVE_CONF_DIR/trove-taskmanager.conf
39-
TROVE_CONDUCTOR_CONF=$TROVE_CONF_DIR/trove-conductor.conf
40-
TROVE_GUESTAGENT_CONF=$TROVE_CONF_DIR/trove-guestagent.conf
41-
TROVE_API_PASTE_INI=$TROVE_CONF_DIR/api-paste.ini
36+
TROVE_CONF_DIR=${TROVE_CONF_DIR:-/etc/trove}
37+
TROVE_CONF=${TROVE_CONF:-$TROVE_CONF_DIR/trove.conf}
38+
TROVE_TASKMANAGER_CONF=${TROVE_TASKMANAGER_CONF:-$TROVE_CONF_DIR/trove-taskmanager.conf}
39+
TROVE_CONDUCTOR_CONF=${TROVE_CONDUCTOR_CONF:-$TROVE_CONF_DIR/trove-conductor.conf}
40+
TROVE_GUESTAGENT_CONF=${TROVE_GUESTAGENT_CONF:-$TROVE_CONF_DIR/trove-guestagent.conf}
41+
TROVE_API_PASTE_INI=${TROVE_API_PASTE_INI:-$TROVE_CONF_DIR/api-paste.ini}
4242

4343
TROVE_LOCAL_CONF_DIR=$TROVE_DIR/etc/trove
4444
TROVE_LOCAL_API_PASTE_INI=$TROVE_LOCAL_CONF_DIR/api-paste.ini

0 commit comments

Comments
 (0)