Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

So I'm looking for a uniform way to install chef on a number of different servers running different platforms. I know I can use the omnibus installer for this, but I also need a way to lock or otherwise keep the versions consistent across machines. Is there a good way of doing this without having ruby already installed on the machines?

For example, I have two brand new servers with minimal installs. One has Ubuntu and the other has CentOS. I order one when Chef 10.12.0 is the latest and the next when 10.14.0 is the latest. I want a uniform way of installing chef on these machines and making sure that they both have chef 10.12.0 (or whichever version I specify). Does anyone have any ideas? Could I just customize the omnibus install script to accept a specific version option? Or does it already do so?

share|improve this question

1 Answer 1

Well the answer turns out to be rather simple. The Omnibus script actually takes an argument for the version I want it to install so I can just call the script like so:

./install.sh -v 10.16.6

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.