我前一段时间使用Vagrant并且能够使用以下内容:
config.vm.provision :chef_solo do |chef|
chef.recipe_url = 'https://github.com/opscode/cookbooks/tarball/master'
chef.add_recipe 'nginx'
chef.add_recipe 'mysql'
chef.add_role 'web'
# You may also specify custom JSON attributes:
# chef.json = { :mysql_password => '' }
end
Run Code Online (Sandbox Code Playgroud)
现在似乎已经弃用了.我怎么用新的回购?