Added support for configuring event listeners
Resources already use a method called events()

https://github.com/opscode/chef/blob/master/lib/chef/resource.rb#L600
Run the template resource in the service provider only once