berkshelfでberk initしてみた
berkshelfでberk initしてみた。
$ mkdir berks_study
$ cd berks_study
$ berks init
create Berksfile
create Thorfile
create .gitignore
run git init from "."
create Gemfile
create Vagrantfile
vagrant upします
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider... [default] Box 'Berkshelf-CentOS-6.3-x86_64-minimal' was not found. Fetching box from specified URL for the provider 'virtualbox'. Note that if the URL does not have a box for this provider, you should interrupt Vagrant now and add the box yourself. Otherwise Vagrant will attempt to download the full box prior to discovering this error. Downloading box from URL: https://dl.dropbox.com/u/31081437/Berkshelf-CentOS-6.3-x86_64-minimal.box Extracting box...te: 644k/s, Estimated time remaining: 0:00:01)) Successfully added box 'Berkshelf-CentOS-6.3-x86_64-minimal' with provider 'virtualbox'! There are errors in the configuration of this machine. Please fix the following errors and try again: SSH: * The following settings shouldn't exist: max_tries, timeout
VMは準備できたが、vagrant upには失敗する。max_tries,timeoutが無いとのこと。
http://lab.unicast.ne.jp/2013/11/24/berkshelf-and-vagrant-up-fails/
ここに情報あった。
このとおりにやって完了。ただcookbookが見つからないとエラーになる。。