puppet-cassandra
puppet-cassandra copied to clipboard
Feature Request - cassandra::keyspace resource type
Similar to something like the mysql::db resource type. It would be useful in dev/testing environments that get rebuilt a lot and need a small single-node cassandra instance for developing or running tests against.
I'm imaging the implementation could just be an exec that runs something like /usr/bin/cqlsh -f <(printf "CREATE KEYSPACE foo ...") to not have to mess with the thrift interface and include a thrift gem, though maybe there's a nicer way to do it. I'm happy to submit a PR for this.