Hello Forum,
I'm looking to confirm from each of my severs that has Chef Installed that Chef is working properly. is there a one line command I could issue to confirm that Chef is connecting back to the Chef Manage Server? I know I can issue the command:
chef-client
But that returns a lot of data. I'm looking for a one line command that I can retreive a success or fail so I can put this into my report. My Bash Script connects to each Linux Server and issues commands and creates a .csv file of data. I'd like to add to this report confirmation that Chef has run successfully on a server.
Thank you in advance for any advice you can provide me.