# Manage the installation of the report processor on the master. See README.md # for more details. class puppetdb::master::report_processor ( $puppet_conf = $puppetdb::params::puppet_conf, $masterless = $puppetdb::params::masterless, $enable = false ) inherits puppetdb::params { if $masterless { $puppet_conf_section = 'main' } else { $puppet_conf_section = 'master' } ini_subsetting { 'puppet.conf/reports/puppetdb': ensure => $enable ? { true => present, default => absent }, path => $puppet_conf, section => $puppet_conf_section, setting => 'reports', subsetting => 'puppetdb', subsetting_separator => ',', } }