Wishlist: Make opensrf_core.xml.example have sed-able password fields

Bug #1567515 reported by Chris Sharp on 2016-04-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

For those of us not skilled in XPath, it would be far easier to script OpenSRF installation if the sample password fields in opensrf_core.xml were unique strings, making them available to tools like sed, awk, and perl.

Branch forthcoming

tags: added: pullrequest
Thomas Berezansky (tsbere) wrote :

Posting this on the Evergreen and OpenSRF bugs:

Instead of changing the passwords themselves we could do something like <passwd sedtype="opensrf public"> and so long as the attribute was still there you could always find it, even if the password has already been changed.

Galen Charlton (gmc) wrote :

I agree with Thomas that an XML attribute would work better -- maybe call it "type" or "context" rather than "sedtype", though. Removing pullrequest for now, although I think the general idea of making it easier to script putting in credentials is a fine one.

tags: removed: pullrequest
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers