Forge Home

cube

Install and manage cube

10,296 downloads

10,027 latest version

3.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
  • 0.0.1
released Feb 9th 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'garethr-cube', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add garethr-cube
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install garethr-cube --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

garethr/cube — version 0.1.0 Feb 9th 2013

A Puppet module for managing the installation and configuration of Cube.

Build
Status

Usage

For experimenting you're probably fine just with:

include 'cube'

Configuration

The module should allow overriding of all of cube's settings. The following is an exampe also showing the default values, based on those in the npm package.

class { 'cube':
  cube_source         => 'cube' # default npm module; can be overridden with tarball url
  collector_http_port => 1080,
  collector_udp_port  => 1180,
  evaluator_port      => 1081,
  mongo_host          => '127.0.0.1',
  mongo_port          => 27017,
  mongo_database      => 'cube_development',
  mongo_username      => false,
  mongo_password      => false
}

Requirement

Cube requires both mongodb and nodejs/npm to be installed and runned. Although this module does not install mongodb, modules available from puppetlabs do. They are included as dependencies in the Modulefile. To install Mongo you can use:

class { 'mongodb':
  enable_10gen => true,
}