-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for service.supports(:status => true) #39
Comments
The default process inspection also matches too readily, so if you have a process 'example-server' running then It's worth noting for testing that the Chef docs suggest that Redhat has different default behaviour, whereby it has status => true by default unless a pattern is provided. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my cookbook I have a test for:
This might be an upstart service that actually runs "ruby example.rb", which means process inspection will not find it.
It would be nice to use the ":status => true" concept from Chef, i.e. using an init-specific method of determining if it's running.
The text was updated successfully, but these errors were encountered: