grafana

pdk
Configuration and management of Grafana

Arcaik

arcaik

6,667 downloads

4,068 latest version

5.0 quality score

Version information

  • 1.0.0 (latest)
  • 0.2.1
  • 0.1.1
  • 0.1.0
released Sep 18th 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2016.4.x
  • Puppet >= 4.10.10 < 6.0.0
  • Debian

Start using this module

Documentation

arcaik/grafana — version 1.0.0 Sep 18th 2018

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.