Reputation: 1
I would like to be able to extract the following information from Chef:
So far, I had the following idea:
knife node show
&& chef-client -W
(log of why-run)
chef-client -W
(log of why-run) && chef-client
(log):
What I want to achieve is some sort of change management visualized here
In a form a trimmed down version of what Chef Automate seems to offer. I`m not sure if I'm actually shooting off my whole leg here. Any pointers are welcome.
Upvotes: 0
Views: 57
Reputation: 54181
Use the same hooks as Automate, write an event handler that records changes and sends them somewhere. https://docs.chef.io/handlers.html#event-handlers
Upvotes: 1