Add attributes for configuring the service

Replaced the files by templates that are filled in with parameters coming from the cookbook attributes.