小编The*_*ohn的帖子

如何在Vagrant中使用新的opscode repo?

我前一段时间使用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)

现在似乎已经弃用了.我怎么用新的回购?

chef-infra vagrant

3
推荐指数
1
解决办法
1881
查看次数

标签 统计

chef-infra ×1

vagrant ×1