michaelklishin/cassandra-chef-cookbook — pull request #32 by yaitskov (2013-12-01 18:44:18+00:00)
Title: Continue of multi instance troubles 

Hi,

Sorry for previous immature pull request.
Previous one fixes bugs but the final goal hasn't been reached.
Next day I found that done changes is not enough.

Major bugs:
Cassandra cannot launch with knife ssh but with direct chef-client call does.
Because it cannot detach itself from terminal. Daemon runs asynchronously
and knife ssh close connection soon.

Next as far as I understand Cassandra instances doesn't want to join together with the SimpleSnitch.
FileSnitch requires separate topology file.

I'm still doubt how to update Cassandra configuration properly.
Before I tried to remove /var/lib/cassandra because
Cassandra requires to do it if cassandra.yaml was changed.
Also I know that this folder has application data and it worry me.
Folder remove with Cassandra instance restart breaks the instance.
It starts to complain about IP address clash (to fix this run the instance with JVM_OPTS=-Dcasssandra.replace_address=).

And I decided to rollback this and put simple responsibility on cassandra::tarball it's just first time deploy.