module-puppetdb/manifests/master/report_processor.pp
Ken Barber f6f6e55b33 Cleanups, missing doc items and new test_url capability
This provides a number of cleanups as the code has been unloved for a while.

I've added the ssl-* parameters the robinbowes added in his last patch to the
docs, and found some other cleanups as well where applicable.

I've added the ability to override the test_url also, so that in the future
if a user wishes to they can customize this.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-10-07 15:06:54 +01:00

18 lines
590 B
Puppet

# 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,
$enable = false
) inherits puppetdb::params {
ini_subsetting { 'puppet.conf/reports/puppetdb':
ensure => $enable ? {
true => present,
default => absent
},
path => $puppet_conf,
section => 'master',
setting => 'reports',
subsetting => 'puppetdb',
subsetting_separator => ',',
}
}