<commit_before># Vagrant Cassandra

This is a sample project to show how to get a simple Cassandra cluster up and running with Vagrant.  It is not secure or production ready.

## Acknowledgement

I borrowed ideas from an earlier project on github [vagrant-cassandra](https://github.com/calebgroom/vagrant-cassandra).  The Vagrant code style was highly influenced by [mcollective-vagrant](https://github.com/ripienaar/mcollective-vagrant).

## Prerequisites

* [Virtualbox](https://www.virtualbox.org/)
* [Vagrant](http://www.vagrantup.com/)
* [librarian-chef](https://github.com/applicationsonline/librarian-chef)
* [vagrant-omnibus](https://github.com/schisamo/vagrant-omnibus)

## Usage

The first time you use this you need to installed the required chef recipes with `librarian-chef`.

    $librarian-chef install
    Installing apt (2.3.0)
    Installing ark (0.4.0)
    Installing aws (1.0.0)
    Installing chef_handler (1.1.4)
    Installing firewall (0.11.2)
    Installing windows (1.11.0)
    Installing java (1.16.4)
    Installing ufw (0.7.0)
    Installing yum (3.0.0)
    Installing cassandra (2.0.0)
    
 After that you should be able to bring up the VMs with vagrant.
 
    $vagrant up
    $vagrant ssh node2
    
    vagrant@node2:~$ cqlsh 192.168.200.12
    Connected to Test Cluster at 192.168.200.12:9160.
    [cqlsh 4.1.0 | Cassandra 2.0.3 | CQL spec 3.1.1 | Thrift protocol 19.38.0]
    Use HELP for help.
    cqlsh>    
    <commit_msg>Add a Bitdeli badge to README<commit_after># Vagrant Cassandra

This is a sample project to show how to get a simple Cassandra cluster up and running with Vagrant.  It is not secure or production ready.

## Acknowledgement

I borrowed ideas from an earlier project on github [vagrant-cassandra](https://github.com/calebgroom/vagrant-cassandra).  The Vagrant code style was highly influenced by [mcollective-vagrant](https://github.com/ripienaar/mcollective-vagrant).

## Prerequisites

* [Virtualbox](https://www.virtualbox.org/)
* [Vagrant](http://www.vagrantup.com/)
* [librarian-chef](https://github.com/applicationsonline/librarian-chef)
* [vagrant-omnibus](https://github.com/schisamo/vagrant-omnibus)

## Usage

The first time you use this you need to installed the required chef recipes with `librarian-chef`.

    $librarian-chef install
    Installing apt (2.3.0)
    Installing ark (0.4.0)
    Installing aws (1.0.0)
    Installing chef_handler (1.1.4)
    Installing firewall (0.11.2)
    Installing windows (1.11.0)
    Installing java (1.16.4)
    Installing ufw (0.7.0)
    Installing yum (3.0.0)
    Installing cassandra (2.0.0)
    
 After that you should be able to bring up the VMs with vagrant.
 
    $vagrant up
    $vagrant ssh node2
    
    vagrant@node2:~$ cqlsh 192.168.200.12
    Connected to Test Cluster at 192.168.200.12:9160.
    [cqlsh 4.1.0 | Cassandra 2.0.3 | CQL spec 3.1.1 | Thrift protocol 19.38.0]
    Use HELP for help.
    cqlsh>    
    

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dholbrook/vagrant-cassandra/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

{'fraction_non_alphanumeric': 0.11371020142949967, 'fraction_numerical': 0.050357374918778425, 'mean_word_length': 3.367375886524823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 12, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3240010', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1120, 'n_words': 299}