Skip to content

Commit

Permalink
Merge 9b1122c into e246638
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarkraemer committed Nov 9, 2017
2 parents e246638 + 9b1122c commit 9108b35
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions manifests/plugin/processes.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@
interval => $interval,
}

if ( $processes or $process_matches ) {
$process_config_ensure = 'present'
} else {
$process_config_ensure = absent
}

concat { "${collectd::plugin_conf_dir}/processes-config.conf":
ensure => $process_config_ensure,
ensure => $ensure,
mode => '0640',
owner => 'root',
group => $collectd::root_group,
Expand Down

0 comments on commit 9108b35

Please sign in to comment.