Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 528 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 528 Bytes

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