renamed servicename to service_name to follow naming standards
moved service_name assignment to recipe to avoid having the default
overwritten.
reverted version change
rewrite service resource to have a more generic name and assign pattern
and service_name within it.