How to find out the version of a chef server

streetcornerlurker picture streetcornerlurker · Mar 26, 2015 · Viewed 33.4k times · Source

I have a chef server that I'm pretty sure is chef 10. I don't remember the exact version and it doesn't seem to say it anywhere in the web ui. Does anyone know how I can find out what it is? I don't see it in any configuration files either, but maybe I'm not looking in the right place.

Thanks.

Answer

Ernesto Iser picture Ernesto Iser · Mar 27, 2015

Inside your Chef installation directory you will find a file named version-manifest.txt, it has information about different applications versions, the first line refers to the chef-server's version. In CentOS 6 you can do this:

# head -n1 /opt/opscode/version-manifest.txt
chef-server 12.0.0