2013-10-21 17:21:12 +02:00
|
|
|
# Manages the installation of the report processor on the master. See README.md
|
|
|
|
# for more details.
|
2013-05-23 23:21:05 +02:00
|
|
|
class puppetdb::master::report_processor(
|
|
|
|
$puppet_conf = $puppetdb::params::puppet_conf,
|
|
|
|
$enable = false
|
|
|
|
) inherits puppetdb::params {
|
2013-06-04 14:19:53 +02:00
|
|
|
ini_subsetting { 'puppet.conf/reports/puppetdb':
|
|
|
|
ensure => $enable ? {
|
|
|
|
true => present,
|
|
|
|
default => absent
|
|
|
|
},
|
|
|
|
path => $puppet_conf,
|
|
|
|
section => 'master',
|
|
|
|
setting => 'reports',
|
|
|
|
subsetting => 'puppetdb',
|
|
|
|
subsetting_separator => ','
|
2013-05-23 23:21:05 +02:00
|
|
|
}
|
|
|
|
}
|