Is there an REST or Java API that allows remotes execution of Chef recipe/command?
The chef-server itself has a REST api but the execution of the chef-client is something triggered by the node itself on an interval via a cron job or when run as a daemon. If you’re looking for something to do remote execution you might want to check out Push Jobs1 or something like RunDeck2
Based on what you said, we would need to call Rundeck, which will call Chef.
I read through this article about Rundeck and Chef integration, but I can’t figure out exactly how this would be done.