Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Custom puppet function to generate a collector

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages