Install and configure the InfluxDB service.
Installs InfluxDB from provided packages
At the moment you have to specify the InfluxDB version in the
influxdb:version
pillar.
Installs the influxdb-cli gem system wide.
Renders the InfluxDB configuration from data provided in the influxdb:conf
pillar.
It requires the installation of the toml Python module via pip.
The formula ships with default configuration settings for various minor versions
of InfluxDB. That means that, if you define configuration settings in your
influxdb.conf
pillar, your settings will be merged with the default ones of
that minor version. You can set influxdb:no_conf_defaults
in your pillar if
you want to completely specify the configuration yourself, without falling back
to defaults.
Testing is done with kitchen-salt.
Install it via bundler:
bundle
Then run test-kitchen with:
kitchen converge
Make sure the tests pass:
kitchen verify