Resource Type: influxdb_dbrp

Defined in:
lib/puppet/type/influxdb_dbrp.rb

Summary

Manages dbrps, or database and retention policy mappings. These provide backwards compatibilty for 1.x queries. Note that these are automatically created by the influxdb_bucket resource, so it isn't necessary to use this resource unless you need to customize them.

Overview

This type provides the ability to manage InfluxDB dbrps

Examples:

influxdb_dbrp {'my_bucket':
  ensure => present,
  org    => 'my_org',
  bucket => 'my_bucket',
  rp     => 'Forever',
}

Properties

  • bucket

    The bucket to map to the retention policy to

  • ensure (defaults to: present)

    Whether the dbrp should be present or absent on the target system.

  • host

    The host running InfluxDB

  • is_default (defaults to: true)

    Whether this should be the default policy

  • name

    Name of the dbrp to manage in InfluxDB

  • org

    Name of the organization that owns the mapping

  • port (defaults to: 8086)

    Port used by the InfluxDB service

  • rp

    Name of the InfluxDB 1.x retention policy

  • token

    Administrative token used for authenticating API calls

  • token_file

    File on disk containing an administrative token

  • use_ssl (defaults to: true)

    Whether to enable SSL for the InfluxDB service

  • use_system_store

    Whether to use the system store for SSL connections