Created
April 12, 2013 19:49
-
-
Save qhartman/5374616 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CHEF_CLIENT_INSTALL = <<-EOF | |
#!/bin/sh | |
test -d /opt/chef || { | |
echo "Installing chef-client via omnibus" | |
wget https://www.opscode.com/chef/install.sh | |
bash ./install.sh -v 10.24.0 | |
} | |
EOF | |
# and then in Vagrant.configure block: | |
config.vm.provision :shell, :inline => CHEF_CLIENT_INSTALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment