Puppet check if Chef issued service restart
We have a Chef recipe restarting our Wildfly service following deployments. On two occasions, Puppet started Wildfly while a restart was in progress resulting in 2 instance of Wildfly running. The Wildfly service is set to ensure => 'running'. Our Puppet admin would prefer that we keep the ensure => 'running' setting. One option is disabling the Puppet agent / Restarting wildfly / enabling the puppet agent within the chef recipe. Are there other options that wouldn't require giving the Chef user the ability to stop and start the Puppet agent?