def template(src, dst, **context)
      rendered = TemplateRenderer.render(File.read(src), context)
      File.write(dst, rendered)
    end
def template(src, dst, **context)
      rendered = TemplateRenderer.render(File.read(src), context)
      File.write(dst, rendered)
    end
Reads from a erb file and renders the content with context

 @param src String - file path of template
 @param dst String - file path location to save
 @param context Hash - parametized variables to pass to template
 @return Boolean

 @example
     template('examples/my-demo-charm/templates/vhost.conf',
              '/tmp/nginx-data.conf',
              public_address: 'localhost',
              app_path: '/srv/app')