cookbook 'kapacitor', '~> 0.0.1'
kapacitor (1) Versions 0.0.1 Follow1
Installs/Configures InfluxdB Kapacitor
cookbook 'kapacitor', '~> 0.0.1', :supermarket
knife supermarket install kapacitor
knife supermarket download kapacitor
kapacitor Cookbook
This is a Chef cookbook to manage InfluxDB.
For Production environment, always prefer the most recent release.
Most Recent Release
cookbook 'kapacitor', '~> 0.0.1'
From Git
cookbook 'kapacitor', github: 'vkhatri/chef-kapacitor', tag: "v0.0.1"
Repository
https://github.com/vkhatri/chef-kapacitor
Supported OS
This cookbook was tested on Amazon & Ubuntu Linux and expected to work on other RHEL platforms.
Cookbook Dependency
None
Recipes
kapacitor::default
- default recipe (use it for run_list)kapacitor::install
- install kapacitorkapacitor::config
- configure kapacitorkapacitor::inputs
- configure kapacitor inputs using node attributenode['kapacitor']['inputs']
kapacitor::outputs
- configure kapacitor outputs using node attributenode['kapacitor']['outputs']
kapacitor::service
- configure kapacitor servicekapacitor::example
- examples recipe to configure default inputs/outputs using HWRP
Core Attributes
default['kapacitor']['version']
(default:nil
): kapacitor version, default install latestdefault['kapacitor']['conf_dir']
(default:/etc/kapacitor
): kapacitor toml configuration file directorydefault['kapacitor']['data_dir']
(default:/var/lib/kapacitor
): kapacitor data directorydefault['kapacitor']['log_dir']
(default:/var/log/kapacitor
): kapacitor log directorydefault['kapacitor']['conf_file']
(default:/etc/kapacitor/kapacitor.conf
): kapacitor configuration filedefault['kapacitor']['notify_restart']
(default:true
): whether to restart kapacitor service on configuration file changedefault['kapacitor']['disable_service']
(default:false
): whether to stop and disable kapacitor servicedefault['kapacitor']['user']
(default:kapacitor
): kapacitor userdefault['kapacitor']['group']
(default:kapacitor
): kapacitor group
Configuration File kapacitor.conf Attributes
kapacitor YUM/APT Repository Attributes
default['kapacitor']['yum']['description']
(default: ``): kapacitor yum reporitory attributedefault['kapacitor']['yum']['gpgcheck']
(default:true
): kapacitor yum reporitory attributedefault['kapacitor']['yum']['enabled']
(default:true
): kapacitor yum reporitory attributedefault['kapacitor']['yum']['baseurl']
(default:calculated
): kapacitor yum reporitory attributedefault['kapacitor']['yum']['gpgkey']
(default:https://repos.influxdata.com/influxdb.key
): kapacitor yum reporitory attributedefault['kapacitor']['yum']['action']
(default::create
): kapacitor yum reporitory attributedefault['kapacitor']['apt']['description']
(default: ``): kapacitor apt reporitory attributedefault['kapacitor']['apt']['components']
(default:['stable']
): kapacitor apt reporitory attributedefault['kapacitor']['apt']['uri']
(default:https//repos.influxdata.com/debian
): kapacitor apt reporitory attributedefault['kapacitor']['apt']['key']
(default:https//repos.influxdata.com/influxdb.key
): kapacitor apt reporitory attributedefault['kapacitor']['apt']['action']
(default::add
): kapacitor apt reporitory attribute
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 (
rake & rake knife
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- Submit a Pull Request using Github
Copyright & License
Authors:: Virender Khatri and Contributors
<pre>
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.
</pre>
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
kapacitor CHANGELOG
This file is used to list changes made in each version of the kapacitor cookbook.
0.0.1
- Virender Khatri - Initial release of kapacitor
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.0.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.0.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.0.1 failed this metric
FC066: Ensure chef_version is set in metadata: kapacitor/metadata.rb:1
FC069: Ensure standardized license defined in metadata: kapacitor/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.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.0.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.0.1 failed this metric
0.0.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.0.1 failed this metric
FC066: Ensure chef_version is set in metadata: kapacitor/metadata.rb:1
FC069: Ensure standardized license defined in metadata: kapacitor/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.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.0.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.0.1 failed this metric
FC069: Ensure standardized license defined in metadata: kapacitor/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.1 passed this metric
Testing File Metric
0.0.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.0.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.0.1 failed this metric
0.0.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