Skip to content

syseleven/puppet-json-file-reporter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Reference

Table of Contents

Classes

Classes

json_file_reporter

converts the report into json and store it on the disk

Examples

simple usage
include json_file_reporter
change the directory for the reports to "/var/cache/foo"
class { 'json_file_reporter':
  report_dir => '/var/cache/foo',
}
enable the hosts sub directory
class { 'json_file_reporter':
  enable_hosts_subdir => true,
}

Parameters

The following parameters are available in the json_file_reporter class.

report_dir

Data type: Stdlib::Absolutepath

Directory to store the reports

Default value: '/opt/puppetlabs/server/data/puppetserver/reports-json'

enable_hosts_subdir

Data type: Boolean

enables/disables a subdir within $report named after the hostname for the report

Default value: false

config_owner

Data type: String

Owner of the configuration file

Default value: $json_file_reporter::params::config_owner

config_group

Data type: String

Group of the configuration file

Default value: $json_file_reporter::params::config_group

enable_newline

Data type: Boolean

Default value: true

json_file_reporter::params

Default values

About

Puppet reporter for json formated reports on disk

Resources

Stars

Watchers

Forks

Packages

No packages published