How Do You Find If Chef Server or If Chef Client Is Installed on a Linux server?

Question:  How Do You Find If Chef Server Is Installed on a Linux server?

Answer
Run this command:  which chef-server-ctl

If Chef server is installed, the result of the above command will display the location of the Chef binary file.  If Chef server is not installed, the word "no" will be in the results.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Question:  How Do You Find Out If Chef Client Is Installed on a Linux server? 

Answer
Run this command:  chef-client -v

If the response is "command not found" chef-client is not installed.  If chef-client is installed, the above command will result in a display of the version of chef-client.

Leave a comment

Your email address will not be published. Required fields are marked *