Skip to content

Instantly share code, notes, and snippets.

@tk0miya
Created February 8, 2013 13:55
Show Gist options
  • Select an option

  • Save tk0miya/4739152 to your computer and use it in GitHub Desktop.

Select an option

Save tk0miya/4739152 to your computer and use it in GitHub Desktop.
Setup chef using omnibus installer. To install them, use "cap deploy:setup" !
# for roundsman
set :default_environment, {
'PATH' => "/opt/chef/bin:/opt/chef/embedded/bin:$PATH"
}
namespace :chef do
namespace :omnibus do
task :install do
run "curl -L http://www.opscode.com/chef/install.sh | #{sudo} bash"
end
end
after 'deploy:setup', 'chef:omnibus:install'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment