From: Chris Sharp Date: Thu, 7 Apr 2016 15:45:32 +0000 (-0400) Subject: LP#1567515: Make string substitution easier in OpenSRF config files. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fcsharp%2Flp1567515_sedable_passwords;p=working%2FOpenSRF.git 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 --- 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