File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 20
20
order => $order ,
21
21
interval => $interval ,
22
22
}
23
+ $config_file = " ${collectd::plugin_conf_dir} /processes-plugin-config.conf"
23
24
24
- concat { "${collectd::plugin_conf_dir}/processes-config.conf" :
25
+ concat { $config_file :
25
26
ensure => $ensure ,
26
27
mode => $collectd::config_mode ,
27
28
owner => $collectd::config_owner ,
32
33
concat::fragment { 'collectd_plugin_processes_conf_header' :
33
34
order => ' 00' ,
34
35
content => epp(' collectd/plugin/processes-header.conf.epp' ),
35
- target => " ${collectd::plugin_conf_dir} /processes-config.conf " ,
36
+ target => $config_file ,
36
37
}
37
38
38
39
concat::fragment { 'collectd_plugin_processes_conf_footer' :
39
40
order => ' 99' ,
40
41
content => ' </Plugin>' ,
41
- target => " ${collectd::plugin_conf_dir} /processes-config.conf " ,
42
+ target => $config_file ,
42
43
}
43
44
44
45
if $processes {
Original file line number Diff line number Diff line change 17
17
' collect_file_descriptor' => $collect_file_descriptor ,
18
18
' collect_memory_maps' => $collect_memory_maps ,
19
19
}),
20
- target => " ${ collectd::plugin_conf_dir} / processes-config.conf " ,
20
+ target => $ collectd::plugin:: processes::config_file ,
21
21
}
22
22
23
23
}
Original file line number Diff line number Diff line change 19
19
' collect_file_descriptor' => $collect_file_descriptor ,
20
20
' collect_memory_maps' => $collect_memory_maps ,
21
21
}),
22
- target => " ${ collectd::plugin_conf_dir} / processes-config.conf " ,
22
+ target => $ collectd::plugin:: processes::config_file ,
23
23
}
24
24
}
You can’t perform that action at this time.
0 commit comments