Require service be running to perform install, need to restart post install
I'm trying to automate an install of Zenoss and I want to have puppet also control the install of ZenPacks (essentially plugins). The ZenPack install script talks to the Zenoss API to register the ZenPack so the service needs to be running for the install to happen. Once the install script finishes, the Zenoss service needs to be restarted to complete the install. I've tried to do this a few different ways but I always end up getting a dependency cycle error. How can I require the service AND notify it at the same time?