Chef-client report status to third party software


#1

Hi everyone,

I am currently evaluating Chef via its open source distribution.
The prototype involves Chef client and Chef Server.
During this process I’ve came to a point where I technically need to report(or pass arguments) to a third party software (in the particular case it’s Jenkins), if a recipe (which is handling tool installation on a node) has finished successfully.
Is there a specific way or a best practice that this could be achieved programmatically, based on Chef’s core functionalities?

Thank you in advance!


#2

Yes, you can use report handlers to achieve this. Please see https://docs.chef.io/handlers.html for further information.
Cheers,
-Thom


#3

Thank you! It seems that this is exactly what I need!