Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

elassandra (2) Versions 0.1.0

Installs elassandra

Berkshelf/Librarian
Policyfile
Knife
cookbook 'elassandra', '= 0.1.0'
cookbook 'elassandra', '= 0.1.0', :supermarket
knife cookbook site install elassandra
knife cookbook site download elassandra
README
Dependencies
Quality 44%

Description

Installs Elassandra service.

Requirements

Cookbook: - java - poise-python

Platform: - Ubuntu 16.04

Attributes

default

Attribute Default Description
node['elassandra']['install_type'] 'tar' The type of install: only tar works for now.
node['elassandra']['release_version'] '2.4.5.3' The version to install.
node['elassandra']['install_prefix'] '/opt/elassandra' The parent directory path for elassandra installation
node['elassandra']['tar']['download_url'] 'https://github.com/strapdata/elassandra/releases/download/v#{node['elassandra']['release_version']}/elassandra-#{node['elassandra']['release_version']}.tar.gz' The download url for tar ball
node['elassandra']['tar']['checksum'] '34b8599a9806870b3fbe7e638fb38233dd1df459b9601efa724b9b2c4023a4b3' The SHA256 checksum of Elassandra tar archive
node['elassandra']['pid'] '/var/run/cassandra/cassandra.pid' The pid file location
node['elassandra']['user'] 'cassandra' Elassandra service user
node['elassandra']['group'] 'cassandra' Elassandra service group
node['cassandra']['cqlsh']['enabled'] true Whether to enable cqlsh

Recipes

default

The default recipe will: - Install elassandra - Define elassandra service

Note

This default recipe doesn't start the elassandra service.

Usage

Simply include elassandra::default in your wrapper recipe and configure conf/cassandra.yaml, then start the service.

Wrapper recipe example

include_recipe 'elassandra::default'
installation_path = "#{node['elassandra']['install_prefix']}/elassandra-#{node['elassandra']['release_version']}"
template "#{installation_path}"/conf/cassandra.yaml do
  source "cassandra.yaml.erb"
  mode 0644
  variables(
   :cluster_name => 'cassandra-cluster',
   :datacenter => 'datacenter1'
  )
  notifies :start, 'service[elassandra]', :delayed
end

License and Author

Author:: Aoi Kadoya

Copyright:: 2017, Aoi Kadoya

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

poise-python >= 0.0.0
java >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.0 failed this metric

FC069: Ensure standardized license defined in metadata: elassandra/metadata.rb:1
Run with Foodcritic Version 12.0.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number