Updated logstash::configfile method to allow usage of templates for file contents