Classes
json_file_reporter
: converts the report into json and store it on the diskjson_file_reporter::params
: Default values
converts the report into json and store it on the disk
include json_file_reporter
class { 'json_file_reporter':
report_dir => '/var/cache/foo',
}
class { 'json_file_reporter':
enable_hosts_subdir => true,
}
The following parameters are available in the json_file_reporter
class.
Data type: Stdlib::Absolutepath
Directory to store the reports
Default value: '/opt/puppetlabs/server/data/puppetserver/reports-json'
Data type: Boolean
enables/disables a subdir within $report named after the hostname for the report
Default value: false
Data type: String
Owner of the configuration file
Default value: $json_file_reporter::params::config_owner
Data type: String
Group of the configuration file
Default value: $json_file_reporter::params::config_group
Data type: Boolean
Default value: true
Default values