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

The cookbook name is 'cassandra-dse' but the `templates_cookbook` is 'cassandra' #196

Closed chrisduong closed 9 years ago

chrisduong commented 9 years ago

Hi,

The cookbook name is 'cassandra-dse' but the templates_cookbook is 'cassandra'. This make Chef look for the template file in cassandra cookbook instead of cassandra-dse cookbook. That's why Chef says

Chef::Exceptions::CookbookNotFound

       Cookbook cassandra not found. If you're loading cassandra from another cookbook, make sure you configure the dependency in your metadata

To fix it, I have to override the attribute default['cassandra']['templates_cookbook'] = 'cassandra-dse'

michaelklishin commented 9 years ago

Yes, this is fixed in v3.2.0. We'll be adding more tests to make sure they catch this earlier.