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

kairosdb (2) Versions 0.1.1

Installs and configures kairosdb

Berkshelf/Librarian
Policyfile
Knife
cookbook 'kairosdb', '~> 0.1.1'
cookbook 'kairosdb', '~> 0.1.1', :supermarket
knife cookbook site install kairosdb
knife cookbook site download kairosdb
README
Dependencies
Quality 33%

Kairosdb Cookbook

Build Status KairosDB Cookbook Chef Version

This cookbook provides two recipes to install and configure a KairosDB service. It allows to configure the service and in case of using cassandra cluster as backend provisioned with cassandra-dse cookbook obtains cassandra nodes address from chef server

Requirements

  • CentOS >= 6.7
  • Ubuntu > 14.04

Recipes

The cookbook contains the following recipes: * recipe[kairosdb] - Install and configures KairosDB * recipe[kariosdb::install_kairosdb] - Download and installs KairosDB package. * recipe[kairosdb::config_kairosdb] - Configure kairos.properties file

Attributes

The following attributes and under the node['kairosdb'] namespace.

Attribute Description Type Default
['version'] Version package to install, obtained from KairosDB github package String "0.9.4"
['release'] KairosDB release String "6"
['cassandra_seed_discovery']['use_chef_search'] Enable lookup on Chefserver for cassandra nodes deployed with casssandra-dse cookbook Boolean false
['cassandra_seed_discovery']['search_role'] Role assigned on Chef server to Cassandra nodes String nil
['cassandra_seed_discovery']['cluster_name'] Cassandra cluster name (cassandra-dse attribute) String nil

All attributes for kairosdb.properties by default are listed on the attributes/config.rb file, you can override all atributes on this file or undefine them by setting them to ''.

Next configuration will install and configure KairosDB to use chef provided cassandra nodes as datastore:

{
  "kairosdb": {
    "cassandra_seed_discovery": {
      "use_chef_search": true,
      "search_role": "cassandra-node",
      "cluster_name": "cass_cluster_test"
    },
    "config": {
      "kairosdb.service.datastore": "org.kairosdb.datastore.cassandra.CassandraModule"
    }
  }
}

Usage

kairosdb::default

Just include kairosdb in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[kairosdb]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Sergio Pena sergio.pena@abiquo.com

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.1 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.1 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.1 failed this metric

FC066: Ensure chef_version is set in metadata: kairosdb/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: kairosdb/metadata.rb:1
FC069: Ensure standardized license defined in metadata: kairosdb/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.1 passed this metric

No Binaries Metric
            

0.1.1 passed this metric

Publish Metric
            

0.1.1 passed this metric

Supported Platforms Metric
            

0.1.1 failed this metric

kairosdb should declare what platform(s) it supports.

Testing File Metric
            

0.1.1 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.1 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