Updated logstash::configfile method 

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