This is a Chef cookbook to manage InfluxDB Chronograf.
For Production environment, always prefer the most recent release.
cookbook 'chronograf', '~> 0.1.1'
cookbook 'chronograf', github: 'vkhatri/chef-chronograf', tag: "v0.1.1"
https://github.com/vkhatri/chef-chronograf
This cookbook was tested on Amazon & Ubuntu Linux and expected to work on other RHEL platforms.
None
-
chronograf::default
- default recipe (use it for run_list) -
chronograf::install
- install chronograf -
chronograf::config
- configure chronograf
-
default['chronograf']['version']
(default:nil
): chronograf version, default install latest -
default['chronograf']['conf_dir']
(default:/opt/chronograf
): chronograf toml configuration file directory -
default['chronograf']['conf_file']
(default:/opt/chronograf/config.toml
): chronograf configuration file -
default['chronograf']['notify_restart']
(default:true
): whether to restart chronograf service on configuration file change -
default['chronograf']['disable_service']
(default:false
): whether to stop and disable chronograf service -
default['chronograf']['bind_host']
(default:node['ipaddress']
): chronograf bind host -
default['chronograf']['bind_port']
(default:10000
): chronograf bind port -
default['chronograf']['local_database_dir']
(default:10000
): chronograf bind port
-
default['chronograf']['config']['QueryResponseBytesLimit']
(default:2_500_000
): chronograf config parameter -
default['chronograf']['config']['Bind']
(default:calculated
): chronograf config parameter, derived from#{node['chronograf']['bind_host']}:#{node['chronograf']['bind_port']}
-
default['chronograf']['config']['LocalDatabase']
(default:calculated
): chronograf config parameter, derived from#{node['chronograf']['local_database_dir']}/chronograf.db
-
default['chronograf']['yum']['description']
(default: ``): chronograf yum reporitory attribute -
default['chronograf']['yum']['gpgcheck']
(default:true
): chronograf yum reporitory attribute -
default['chronograf']['yum']['enabled']
(default:true
): chronograf yum reporitory attribute -
default['chronograf']['yum']['baseurl']
(default:calculated
): chronograf yum reporitory attribute -
default['chronograf']['yum']['gpgkey']
(default:https://repos.influxdata.com/influxdb.key
): chronograf yum reporitory attribute -
default['chronograf']['yum']['action']
(default::create
): chronograf yum reporitory attribute -
default['chronograf']['apt']['description']
(default: ``): chronograf apt reporitory attribute -
default['chronograf']['apt']['components']
(default:['stable']
): chronograf apt reporitory attribute -
default['chronograf']['apt']['uri']
(default:https//repos.influxdata.com/debian
): chronograf apt reporitory attribute -
default['chronograf']['apt']['key']
(default:https//repos.influxdata.com/influxdb.key
): chronograf apt reporitory attribute -
default['chronograf']['apt']['action']
(default::add
): chronograf 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.