Instead, expect the user to provide ~/.pgpass.
This is a good idea because we don't really want to be handling
passwords ourselves if we can help it. And, we are shortly going to
want to do some exciting mangling of the database access
configuration, which would be complicated by the presence of this
password expansion.
This may break for some users of existing Executive (non-standalone)
setups which are using production-config-cambridge or the default
built-in configuration.
DEPLOYMENT NOTE: After this passes the push gate in Cambridge,
/export/home/osstest/.{xen-,}osstest/db-password should be deleted to
avoid confusion in the future.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
# dynamic default config settings
$c{ExecutiveDbnamePat} ||= "dbname=<dbname>;user=<whoami>;".
- "host=<dbname>.db.$c{DnsDomain};".
- "password=<~/.xen-osstest/db-password>"
+ "host=<dbname>.db.$c{DnsDomain}"
if defined $c{DnsDomain};
# 1. <\w+> is replaced with variables:
# <dbname> database name
OwnerDaemonHost owner.daemon.osstest.xs.citrite.net
QueueDaemonHost queue.daemon.osstest.xs.citrite.net
-ExecutiveDbnamePat dbname=<dbname>;user=<whoami>;host=osstestdb.xs.citrite.net;password=<~/.xen-osstest/db-password>
+ExecutiveDbnamePat dbname=<dbname>;user=<whoami>;host=osstestdb.xs.citrite.net
HostnameSortSwapWords 1