Closed chris-carr-bose closed 6 years ago
@chris-carr-bose Can you open up a PR to fix this?
@tas50 : The build breaks on a number of errors that I don't think have anything to do with my PR. Either way, I'm afraid I won't have time to correct them all any time soon.
The initial fix here is in 5.3.0. Thanks for the PR
Cookbook version
5.1.2
Chef-client version
12.17.44
Platform Details
Amazon Linux AMI release 2015.03 running on EC2
Scenario:
Restart push jobs using /sbin/service utility.
Steps to Reproduce:
Expected Result:
In step 4, the file should be named "chef-push-jobs-client.pid". In step 9, there should be two processes: a parent and a child. In step 10, there should be only one PID file, and it should be named "chef-push-jobs-client.pid".
Actual Result:
In step 4, the file is named "S50chef-push-jobs-client.pid" In step 9, there are four processes: two parents, and two children. In step 10, there are two PID files, named "chef-push-jobs-client.pid" and "S50chef-push-jobs-client.pid".