Forge Home

create_collector

Puppet function to create a collector

Meltwater

meltwater

9,442 downloads

9,174 latest version

3.5 quality score

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Apr 13th 2014

Start using this module

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

Add this declaration to your Puppetfile:

mod 'meltwater-create_collector', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to a Bolt project:

bolt module add meltwater-create_collector
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install meltwater-create_collector --version 0.1.2

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

meltwater/create_collector — version 0.1.2 Apr 13th 2014

create_collector

Creates a collector and applies overrides

First argument is the resource type, second the parameter/property you want to match, third its value and finally a hash of parameters/properties you want to override.

@user { 'wleese':
  uid    => '101010',
}

$overrides =  { 'uid'    => '8888',
                'groups' => ['wheel','audio'],
              }

create_collector('user', 'title', 'wleese', $overrides)

Known Issues:

  • Can only generate a collector based on a single boolean