The regex to check for states in the Upstart provider only looks for start and stop.
If the service is in any other state it will raise the following error:
NoMethodError
-------------
undefined method `[]' for nil:NilClass
at
chef-client: 12.15.19
Ubuntu 14.04
I don't know a whole lot about upstart and not sure how often this is actually an issue, thinking it may be ok just to document it and raise an error with a better description.
can i work on this issue if it is not fixed yet?
@navkumar2245 You're more than welcome to work on this issue. Since Ubuntu 14.04 is just about EOL at this point this won't be something we'll tackle internally at Chef.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.