2
chef-solo를 사용하여 git을 설치하는 간단한 VM을 만들려고합니다.요리사 요리 책에 종속성 추가
나는 "요리 책"디렉토리와 Vagrantfile을 가지고 있습니다. Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "centos_64"
config.vm.network "forwarded_port", guest: 80, host: 8085
config.omnibus.chef_version = :latest
...
config.vm.provision :chef_solo do |chef|
chef.add_recipe "build-essential"
chef.add_recipe "dmg"
chef.add_recipe "yum"
chef.add_recipe "git"
end
end
-cookbooks
-Vagrantfile
나는 나의 요리 책 디렉토리에 git
요리 책을 복제.
[2014-03-06T21:09:58+00:00] ERROR: Cookbook runit not found. If you're loading
runit from another cookbook, make sure you configure the dependency in your
metadata
[2014-03-06T21:09:58+00:00] FATAL: Chef::Exceptions::ChildConvergeError:
Chef run process exited unsuccessfully (exit code 1)
보다는 내 Vagrantfile에 더 많은 요리 책 종속성을 추가 continuining, 종속성을 처리 할 수있는 적절한 방법은 무엇입니까 : 그러나, 나는이 문제에 달렸다?