This is a Chef cookbook to manage InfluxData Kapacitor.
For Production environment, always prefer the most recent release.
cookbook 'kapacitor', '~> 0.0.1'
cookbook 'kapacitor', github: 'vkhatri/chef-kapacitor', tag: "v0.0.1"
https://github.com/vkhatri/chef-kapacitor
- Amazon
- CentOS
- Ubuntu
- apt
- yum-plugin-versionlock
-
kapacitor::default
- default recipe (use it for run_list) -
kapacitor::install
- install kapacitor -
kapacitor::config
- configure kapacitor -
kapacitor::service
- configure kapacitor service
-
default['kapacitor']['version']
(default:1.3.2
): kapacitor version, default install latest -
default['kapacitor']['toml_gem_version']
(default:~> 0.1.2
): toml gem version -
default['kapacitor']['ignore_version']
(default:false
): ignore kapacitor version pin -
default['kapacitor']['setup_repository']
(default:true
): setup influxdata repository -
default['kapacitor']['conf_dir']
(default:/etc/kapacitor
): kapacitor toml configuration file directory -
default['kapacitor']['data_dir']
(default:/var/lib/kapacitor
): kapacitor data directory -
default['kapacitor']['log_dir']
(default:/var/log/kapacitor
): kapacitor log directory -
default['kapacitor']['conf_file']
(default:/etc/kapacitor/kapacitor.conf
): kapacitor configuration file -
default['kapacitor']['notify_restart']
(default:true
): whether to restart kapacitor service on configuration file change -
default['kapacitor']['disable_service']
(default:false
): whether to stop and disable kapacitor service -
default['kapacitor']['user']
(default:kapacitor
): kapacitor user -
default['kapacitor']['group']
(default:kapacitor
): kapacitor group
-
default['kapacitor']['yum']['description']
(default: ``): kapacitor yum reporitory attribute -
default['kapacitor']['yum']['gpgcheck']
(default:true
): kapacitor yum reporitory attribute -
default['kapacitor']['yum']['enabled']
(default:true
): kapacitor yum reporitory attribute -
default['kapacitor']['yum']['baseurl']
(default:calculated
): kapacitor yum reporitory attribute -
default['kapacitor']['yum']['gpgkey']
(default:https://repos.influxdata.com/influxdb.key
): kapacitor yum reporitory attribute -
default['kapacitor']['yum']['action']
(default::create
): kapacitor yum reporitory attribute -
default['kapacitor']['apt']['description']
(default: ``): kapacitor apt reporitory attribute -
default['kapacitor']['apt']['components']
(default:['stable']
): kapacitor apt reporitory attribute -
default['kapacitor']['apt']['uri']
(default:https//repos.influxdata.com/debian
): kapacitor apt reporitory attribute -
default['kapacitor']['apt']['key']
(default:https//repos.influxdata.com/influxdb.key
): kapacitor apt reporitory attribute -
default['kapacitor']['apt']['action']
(default::add
): kapacitor apt reporitory attribute
- 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
Authors:: Virender Khatri and Contributors
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.