Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for cassandra #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ncloward
Copy link
Contributor

Added support for cassandra 2.0.

The gini/cassandra puppet module is not up to date with cassandra 2.0 and waiting on a pull request to be merged. This pulls from that fork and has some settings for it to run. When that gets merged we can change it to point to that version.

Also wondering if I need to add a way to auto require the 'openjdk-7-jre' package for a requirement to cassandra.

@phinze
Copy link
Owner

phinze commented Mar 10, 2014

Hey sorry it's taken me so long to pick this up.

The gini/cassandra puppet module is not up to date with cassandra 2.0 and waiting on a pull request to be merged.

Did this get done in the meantime while I was being a bad maintainer? 😊

Also wondering if I need to add a way to auto require the 'openjdk-7-jre' package for a requirement to cassandra.

I'd imagine the cassandra puppet module does that for us?

If not, you can pull it off by doing something like:

unless defined?(Package['openjdk-7-jre']) {
  package { 'openjdk-7-jre': ensure => installed }
  Package['openjdk-7-jre'] -> Class['cassandra'] # ensure java pkg is installed before cassandra is
}

@ncloward
Copy link
Contributor Author

Forgot about this... No the pull request (gini/puppet-cassandra#14) is still sitting there... I think I will bug them about it.

I will also double check on the package stuff and get back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants