cookbook 'kairosdb', '~> 0.1.1'
kairosdb (2) Versions 0.1.1 Follow0
Installs and configures kairosdb
cookbook 'kairosdb', '~> 0.1.1', :supermarket
knife supermarket install kairosdb
knife supermarket download kairosdb
Kairosdb Cookbook
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
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- 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 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
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
0.1.1 failed this 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 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
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
0.1.1 failed this metric
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 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 passed this metric
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
0.1.1 failed this 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