fixed issues with using collectd cookbook template calls