InfluxDB configuration, management via Boxen
Puppet Ruby Shell
Latest commit 56bd887 Dec 27, 2013 @bruce bruce Update LICENSE noting CS
Permalink
Failed to load latest commit information.
files/brews
manifests
script
spec
templates
.gitignore
.travis.yml
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE
README.md

README.md

InfluxDB Puppet Module for Boxen

Build Status

Usage

include influxdb

Required Puppet Modules

  • boxen
  • homebrew
  • stdlib

Environment

Once installed, you can access the following variables in your environment, projects, etc:

  • BOXEN_INFLUXDB_API_PORT: the configured InfluxDB API port
  • BOXEN_INFLUXDB_ADMIN_PORT: the configured InfluxDB admin panel port
  • BOXEN_INFLUXDB_RAFT_PORT: the configured InfluxDB raft port

You can see the admin panel by running, eg:

open http://localhost:$BOXEN_INFLUXDB_ADMIN_PORT

Ruby

Using the gem:

require "influxdb"

client = InfluxDB::Client.new("foo_test",
                              port: ENV["BOXEN_INFLUXDB_API_PORT"],
                              username: "user", password: "pass")
client.write_point("metric", value: 12.3)