aws/opsworks-cookbooks — pull request #9 by zackangelo (2013-02-28 01:56:52+00:00)
Title: 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.