Fixed unable to restart service when trying to invoke recipe in custom layer

I was receiving this error when trying to invoke this recipe from a custom layer:

DEBUG: Re-raising exception: NoMethodError - undefined method
`run_action' for "service[apache2]":String

Referencing the service in this way seems to correct the problem.