Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [v0.2.1](https://github.com/puppetlabs/influxdb/tree/v0.2.1) (2022-03-07)

[Full Changelog](https://github.com/puppetlabs/influxdb/compare/v0.2.0...v0.2.1)

### Fixed

- Check use\_ssl is not nil [\#11](https://github.com/puppetlabs/influxdb/pull/11) ([ryanjbull](https://github.com/ryanjbull))

## [v0.2.0](https://github.com/puppetlabs/influxdb/tree/v0.2.0) (2022-03-01)

[Full Changelog](https://github.com/puppetlabs/influxdb/compare/v0.1.0...v0.2.0)
Expand Down
27 changes: 14 additions & 13 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### Classes

* [`influxdb::install`](#influxdbinstall): Installs, configures, and performs initial setup of InfluxDB 2.x
* [`influxdb`](#influxdb): Installs, configures, and performs initial setup of InfluxDB 2.x
* [`influxdb::profile::toml`](#influxdbprofiletoml): Installs the toml-rb gem inside Puppet server

### Resource types
Expand All @@ -28,7 +28,7 @@

## Classes

### <a name="influxdbinstall"></a>`influxdb::install`
### <a name="influxdb"></a>`influxdb`

Installs, configures, and performs initial setup of InfluxDB 2.x

Expand All @@ -37,17 +37,17 @@ Installs, configures, and performs initial setup of InfluxDB 2.x
##### Basic usage

```puppet
include influxdb::install
include influxdb

class {'influxdb::install':
class {'influxdb':
initial_org => 'my_org',
initial_bucket => 'my_bucket',
}
```

#### Parameters

The following parameters are available in the `influxdb::install` class:
The following parameters are available in the `influxdb` class:

* [`manage_repo`](#manage_repo)
* [`manage_setup`](#manage_setup)
Expand All @@ -59,12 +59,13 @@ The following parameters are available in the `influxdb::install` class:
* [`ssl_cert_file`](#ssl_cert_file)
* [`ssl_key_file`](#ssl_key_file)
* [`ssl_ca_file`](#ssl_ca_file)
* [`influxdb_host`](#influxdb_host)
* [`host`](#host)
* [`intial_org`](#intial_org)
* [`intial_bucket`](#intial_bucket)
* [`admin_user`](#admin_user)
* [`admin_pass`](#admin_pass)
* [`token_file`](#token_file)
* [`port`](#port)
* [`initial_org`](#initial_org)
* [`initial_bucket`](#initial_bucket)

Expand Down Expand Up @@ -149,14 +150,12 @@ CA certificate issued by the CA which signed the certificate specified by $ssl_c

Default value: `'/etc/puppetlabs/puppet/ssl/certs/ca.pem'`

##### <a name="influxdb_host"></a>`influxdb_host`
##### <a name="host"></a>`host`

Data type: `String`

fqdn of the host running InfluxDB. Defaults to the fqdn of the local machine

Default value: `$facts['fqdn']`

##### <a name="intial_org"></a>`intial_org`

Name of the initial organization to use during initial setup. Defaults to puppetlabs
Expand Down Expand Up @@ -190,22 +189,24 @@ Note that functions or code run in Puppet server will not be able to use this fi

Default value: `$facts['identity']['user']`

##### <a name="port"></a>`port`

Data type: `Integer`



##### <a name="initial_org"></a>`initial_org`

Data type: `String`



Default value: `'puppetlabs'`

##### <a name="initial_bucket"></a>`initial_bucket`

Data type: `String`



Default value: `'puppet_data'`

### <a name="influxdbprofiletoml"></a>`influxdb::profile::toml`

Installs the toml-rb gem inside Puppet server
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-influxdb",
"version": "0.2.0",
"version": "0.2.1",
"author": "Adrian Parreiras Horta",
"summary": "Installs and configures InfluxDB 2",
"license": "Apache-2.0",
Expand Down