Forge Home

create_collector

Puppet function to create a collector

10,210 downloads

9,837 latest version

3.5 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.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 module to your Puppetfile:

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

Add this module to your 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