vvraskin commented on a change in pull request #3853: Set erlang magic cookie for couchdb URL: https://github.com/apache/incubator-openwhisk/pull/3853#discussion_r201660174
########## File path: ansible/roles/couchdb/tasks/deploy.yml ########## @@ -23,6 +23,22 @@ volume_dir: "{{ instance.volume.fsmount | default( '/mnt/' + group_names|first, true ) }}:/usr/local/var/lib/couchdb" when: (block_device is defined) and (block_device in disk_status.stdout) +- name: "generate erlang cookie" Review comment: Ah ok, so you plan to do dynamic deployments, e.g. adding a new nodes to the cluster without removing the previous one? I'm just wondering whether the cookie is indeed needed for the case of local deployment, when some people don't have a need to spawn a cluster. What about adding a variable `db.clustering.enabled` in `ansible/group_vars/all` and then conditionally generate the erlang cookie? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services