Resource Type: influxdb_setup

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

Summary

Manages initial setup of InfluxDB. It is recommended to use the influxdb::install class instead of this resource directly.

Overview

Examples:

influxdb_setup {'<influx_fqdn>':
  ensure     => 'present',
  token_file => <path_to_token_file>,
  bucket     => 'my_bucket',
  org        => 'my_org',
  username   => 'admin',
  password   => 'admin',
}

Properties

  • bucket

    Name of the initial bucket to create

  • ensure (defaults to: present)

    Whether initial setup has been performed. present/absent is determined by the response from the /setup api

  • host

    The host running InfluxDB

  • org

    Name of the initial organization to create

  • password

    Initial admin user password

  • port (defaults to: 8086)

    Port used by the InfluxDB service

  • 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

  • username

    Name of the initial admin user

Parameters

  • name (namevar)

    The fqdn of the host running InfluxDB