Open BarthV opened 9 years ago
I had to dig on lwrp provider to find out that we can specify a template to it :)
So currently it's working with a local custom template with the appropriate <Node "localagent">
:
"write_sensu" => {
"template" => "write_sensu.conf.erb",
"cookbook" => "my-sensu",
"config" => {
"Host" => "127.0.0.1",
"Port" => "3030",
"Separator" => ".",
"StoreRates" => true,
"AlwaysAppendDS" => false,
"Metrics" => true,
"MetricHandler" => "influx",
"Notifications" => false
}
}
It would still be nice to have a way to specify custom sub-items in "config" hash.
Ohai Chefs,
I need to put a collectd plugin like this one :
Currently collectd_plugin lwrp is not able to create the
<Node "localagent">
sub-item. The configuration can only be "flat".Is is possible to handle this case ?