arcaik-grafana

Puppet module to install, configure and manage Grafana


Keywords
dashboard, graphana
License
GPL-3.0
Install
puppet module install arcaik-grafana --version 1.0.0

Documentation

Grafana

Build Status

Overview

From the Grafana website: Grafana is the leading tool for querying and visualizing time series and metrics.

Table of Contents

  1. Module description
  2. Usage
  3. Reference
  1. Limitations
  2. Development

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.