hack for storing erlang cookie value on new nodes
Project: http://git-wip-us.apache.org/repos/asf/couchdb-setup/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-setup/commit/9f1fa232 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-setup/tree/9f1fa232 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-setup/diff/9f1fa232 Branch: refs/heads/master Commit: 9f1fa23274ef475945a1b55555936d1353f5d0fe Parents: 38eaa88 Author: Jan Lehnardt <[email protected]> Authored: Fri Oct 31 17:38:44 2014 +0100 Committer: Jan Lehnardt <[email protected]> Committed: Fri Oct 31 17:38:44 2014 +0100 ---------------------------------------------------------------------- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-setup/blob/9f1fa232/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index f4e84c8..966ba1b 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ b. as in a, but without the Fauxton bits, just POST to /_setup - on the âsetup coordination nodeâ: - check if we have an Erlang Cookie Secret. If not, generate a UUID and set the erlang cookie to to that UUID. - // TBD: persist the cookie, so it survives restarts + - store the cookie in config.ini, re-set_cookie() on startup. - make a POST request to the node specified in the body above using the admin credentials in the body above: POST to http://username:password@node_b:5984/_setup with:
