summaryrefslogtreecommitdiff
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-23 10:25:29 +0200
commit56ff09fb11bbd81551be727d1da87f6b9f429b7f (patch)
tree4a85ad6e32e569b7048e9e06da9fc170e293361b
parent1cb47834d43eb2cd39aef29a6e13100809c17098 (diff)
downloadtrove-56ff09fb11bbd81551be727d1da87f6b9f429b7f.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
-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 d57eb37c..02f68e5e 100644
--- a/etc/trove/trove.conf.sample
+++ b/etc/trove/trove.conf.sample
@@ -42,8 +42,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