ncerny / chef_stack

4 stars 6 forks source link

Change the bootstrap_node to peers #19

Closed ncerny closed 7 years ago

ncerny commented 7 years ago

This is the groundwork to allow the first cluster member to become the bootstrap node, without requiring that to be pre-defined.

andy-dufour commented 7 years ago

👍

Eventually, do we end up with another custom resource called backend_cluster (or something) with actions of join, remove, etc. I only bring it up because the peer discovery code seems like it could perhaps be factored out into a method, but I'm not sure it belongs directly in the backend resource.

ncerny commented 7 years ago

I'm not sure. A backend doesn't really have any semantic meaning outside of the context of a cluster. How would you envision the resource behaving?