3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Chefのレシピをvagrant上のVMに適用するでちょっとハマる

Posted at
chef_solo.rb
Vagrant.configure(2) do |config|

config.vm.provision :chef_solo do |chef|
  chef.cookbooks_path = ["./cookbooks"]

  chef.add_recipe 'git'
end

本では上記の内容しか書いてないのですが、続きとして、
最後のchef.json は・・・という書き方がしてあって良くわからなかったのですが、ここの箇所は下記、
http://gihyo.jp/book/2014/978-4-7741-6516-5/support
に全体のファイルがあります。

当たり前のことなのかも知れませんが、自分と同じく不思議に思った人がいるかと思い書いておきます。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?