From aa86b1692bc279bb892e5ab4d46611f6474960ec Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Thu, 7 Apr 2016 11:45:32 -0400 Subject: [PATCH] LP#1567515: Make string substitution easier in OpenSRF config files. For tools like sed, awk, and perl to work more efficiently, more unique strings than "password" are desirable. This adds unique strings to the two example files requiring OpenSRF passwords. Signed-off-by: Chris Sharp --- examples/opensrf_core.xml.example | 8 ++++---- examples/srfsh.xml.example | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/opensrf_core.xml.example b/examples/opensrf_core.xml.example index 8c99cf8..d424a73 100644 --- a/examples/opensrf_core.xml.example +++ b/examples/opensrf_core.xml.example @@ -35,7 +35,7 @@ vim:et:ts=2:sw=2: Our domain should match that of the private router --> private.localhost opensrf - password + OpenSRF_Private_Password 5222 @@ -90,7 +90,7 @@ vim:et:ts=2:sw=2: public.localhost opensrf - password + OpenSRF_Public_Password 5222 LOCALSTATEDIR/log/gateway.log 3 @@ -122,7 +122,7 @@ vim:et:ts=2:sw=2: 5222 LOCALSTATEDIR/sock/unix_sock router - password + Router_Public_Password router 10 5 @@ -147,7 +147,7 @@ vim:et:ts=2:sw=2: private.localhost 5222 router - password + Router_Private_Password router 10 5 diff --git a/examples/srfsh.xml.example b/examples/srfsh.xml.example index ebff643..4740e13 100644 --- a/examples/srfsh.xml.example +++ b/examples/srfsh.xml.example @@ -4,7 +4,7 @@ router private.localhost opensrf - password + OpenSRF_Private_Password 5222 LOCALSTATEDIR/log/srfsh.log 4 -- 2.11.0