michaelklishin / cassandra-chef-cookbook

Chef cookbook for Apache Cassandra, DataStax Enterprise (DSE) and DataStax agent
Apache License 2.0
163 stars 228 forks source link

Add attribute for cassandra tmp directory #288

Closed JackBracken closed 8 years ago

JackBracken commented 8 years ago

I'm working on a custom RHEL image that as part of a set of security policies has the noexec flag set for the /tmp partition. Cassandra needs to execute some of its temporary files in order to boot successfully.

This pull request adds an attribute node['cassandra']['tmp_dir'], and updates the config recipe to create this directory if it does not exist and if the attribute is set.

More details from datastax.

JackBracken commented 8 years ago

Looks like the last build timed out on bundle install, closed and reopened to force another build.

michaelklishin commented 8 years ago

Thank you!