summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorIonuț Arțăriși <iartarisi@suse.cz>2014-07-17 17:20:56 +0200
committerIonuț Arțăriși <iartarisi@suse.cz>2014-07-21 13:48:36 +0200
commit54097e23b8d6c0a2c62d06138465a988a474979b (patch)
tree8b2e2b115ef0b03a3becd519173a10fbc632c1a7 /etc
parent5869b3cabbf25362319559efaf960f40d589a754 (diff)
downloadtrove-54097e23b8d6c0a2c62d06138465a988a474979b.tar.gz
Make default extension path relative to pybasedir
Change the default extension path in the sample config files as these take precedence over the files values in common/cfg.py Change-Id: I3c473fb9cd7e81341a1963a35834ef4c2fd69717 Closes-Bug: 1316195
Diffstat (limited to 'etc')
-rw-r--r--etc/trove/trove.conf.sample5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/trove/trove.conf.sample b/etc/trove/trove.conf.sample
index 50348a19..032191b7 100644
--- a/etc/trove/trove.conf.sample
+++ b/etc/trove/trove.conf.sample
@@ -68,8 +68,9 @@ sql_idle_timeout = 3600
#DB Api Implementation
db_api_implementation = "trove.db.sqlalchemy.api"
-# Path to the extensions
-api_extensions_path = trove/extensions/routes
+# Path to the extensions.
+# $pybasedir is the path to the installed trove package
+api_extensions_path = $pybasedir/extensions/routes
# Configuration options for talking to nova via the novaclient.
trove_auth_url = http://0.0.0.0:5000/v2.0