From 54097e23b8d6c0a2c62d06138465a988a474979b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B=20Ar=C8=9B=C4=83ri=C8=99i?= Date: Thu, 17 Jul 2014 17:20:56 +0200 Subject: [PATCH] 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 --- etc/trove/trove.conf.sample | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/trove/trove.conf.sample b/etc/trove/trove.conf.sample index 50348a195e..032191b7ee 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