Chef integration with Foreman

Hi,

I would like to know what features/functionality do i get with Chef plugin?
What i want to do is to use foreman to run chef recipes and cookbooks on target nodes.
These cookbooks check for Spectre/meltdown. So the workflow would be:

  1. Register Remote nodes
  2. Check for Spectre/Meltdown on nodes, by running a chef cookbook
  3. Patch remote nodes using foreman
    • centos 6, 7
    • RHEL 6, 7
    • ubuntu 12, 16, 17
  4. run step 2

So the experience needs to be in “one context” like being in foreman UI, or API

Thanks,
-Kamal.

See https://www.theforeman.org/plugins/foreman_chef/0.6/index.html for features description. What you describe is possible in combination with remote execution plugin I believe.