From 994794e725387d03203b685e0fb42fd6f8b917d5 Mon Sep 17 00:00:00 2001 From: holtwilkins Date: Mon, 8 Feb 2016 11:57:23 +1100 Subject: [PATCH] lint fix in report_processor --- manifests/master/report_processor.pp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/manifests/master/report_processor.pp b/manifests/master/report_processor.pp index 4fd1f42..f97130b 100644 --- a/manifests/master/report_processor.pp +++ b/manifests/master/report_processor.pp @@ -12,11 +12,13 @@ class puppetdb::master::report_processor ( $puppet_conf_section = 'master' } + $puppetdb_ensure = $enable ? { + true => present, + default => absent, + } + ini_subsetting { 'puppet.conf/reports/puppetdb': - ensure => $enable ? { - true => present, - default => absent - }, + ensure => $puppetdb_ensure, path => $puppet_conf, section => $puppet_conf_section, setting => 'reports',