Version information
This version is compatible with:
- Puppet Enterprise 2018.1.x, 2017.3.x, 2016.4.x
- Puppet >= 4.10.10 < 6.0.0
Start using this module
Add this module to your Puppetfile:
mod 'arcaik-grafana', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
Grafana
Overview
From the Grafana website: Grafana is the leading tool for querying and visualizing time series and metrics.
Table of Contents
Module description
This module installs, configures and manages Grafana.
Warning: since version 1.0.0, this module is only compatible with Hiera 5.
Usage
Beginning with grafana
Reference
Public classes
Class grafana
Parameters
package_name
Optional. String. Sets the name of the grafana package (default: grafana
).
package_ensure
Optional. String. Controls the package resource ensure attribute (default:
present
).
See Resource Type: package for a list of allowed values.
service_name
Optional. String. Sets the name of the Grafana service (default:
grafana-server
).
service_ensure
Optional. String. Controls the service resource ensure attribute (default:
present
).
See Resource Type: package for a list of allowed values.
service_enable
Optional. Boolean. Controls the service resource enable attribute (default:
true
).
config_dir
Optional. Stdlib::Absolutepath. Sets the directory where Grafana's
configuration files are located (default: /etc/grafana
).
config_file
Deprecated: This setting is deprecated, it will be removed in a future version of this module.
Optional. Stdlib::Absolutepath. Sets the Grafana configuration file location
(default: /etc/grafana/grafana.ini
).
settings
Optional. Hash.
Private classes
grafana::params
grafana::install
: handles the packages installation.grafana::config
: handles the configuration file management.grafana::service
: handles the service management.
Limitations
This module only works with systemd. It has only been tested on Debian 8 (Jessie).
Development
Puppet modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. Please follow our guidelines when contributing changes.
For more information, see our module contribution guide.
Dependencies
- puppetlabs-stdlib (>= 4.6.0 < 5.0.0)
- puppetlabs-inifile (>= 1.6.0 < 2.0.0)