Skip to content

Instantly share code, notes, and snippets.

@namongk
Created November 19, 2013 05:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save namongk/7540741 to your computer and use it in GitHub Desktop.

Chef install isn't optimized yet for OS X 10.9 but there's a hacky way to get it installed.

First, download the install file at https://www.opscode.com/chef/install.sh

Then, edit the install.sh file and change this part:

    "10.6") platform_version="10.6" ;;
    "10.7") platform_version="10.7" ;;
    "10.8") platform_version="10.7" ;;

Into this:

    "10.6") platform_version="10.6" ;;
    "10.7") platform_version="10.7" ;;
    "10.8") platform_version="10.7" ;;
    "10.9") platform_version="10.7" ;;

It's sort of a hacky way of saying that 10.9 should use 10.7's install config. After editing, run the following two commands to complete the install process:

$ chmod a+x install.sh
$ sudo ./install.sh

And there you go, Chef is now installed on OS X 10.9 Mavericks.

Source: https://tickets.opscode.com/browse/CHEF-3327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment