Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
hack for storing erlang cookie value on new nodes
  • Loading branch information
janl committed Oct 31, 2014
1 parent 38eaa88 commit 9f1fa23274ef475945a1b55555936d1353f5d0fe
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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:

0 comments on commit 9f1fa23

Please sign in to comment.