This could simply be
```erb
Include "<%= "#{@node[:collectd][:default_plugin_dir]}/*.conf" %>"
```