This cookbook installs and configures Grafana, a dashboard application for graphite and influxdb.
- Debian/Ubuntu
- Redhat/CentOS
- Chef 12.1+
- apt
- yum
The default recipe will install the latest stable Grafana from the official packagecloud repository, configure grafana.ini, and start the service.
To install the latest unstable release, set:
node['chef-grafana']['install']['channel'] = 'testing'
Other recipes:
- grafana::install - this installs grafana and starts the service, but doesn't perform any configuration of grafana.ini.
- grafana::configure - this configures grafana.ini.
All grafana.ini configuration is provided through attributes. Set
node['chef-grafana']['config']['section']['config']
to set the appropriate
values. For example, if you want to enable anonymous authentication, you can
set node['chef-grafana']['config']['auth.anonymous']['enabled']
to true.
Author: Mark Harrison ([email protected])
Copyright: 2008-2017, Chef Software, Inc.
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.