[2013-12-04T22:30:37+00:00] INFO: Start handlers complete.
================================================================================
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/resources/default.rb
================================================================================
NameError
---------
uninitialized constant Chef::DSL
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/resources/default.rb:23:in `class_from_file'
Relevant File Content:
----------------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/application/resources/default.rb:
1: #
2: # Author:: Noah Kantrowitz <
">
>
3: # Cookbook Name:: application
Vagrantfile
========
Vagrant.configure("2") do |config|
config.vm.box = "Berkshelf-CentOS-6.3"
config.berkshelf.enabled = true
config.vm.hostname = "devirsatel"
config.vm.network :forwarded_port, guest: 8080, host: 9080
config.vm.network :forwarded_port, guest: 15672, host: 15672
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.add_recipe "application_ruby"
chef.data_bags_path = "data_bags"
end
end
Berksfile
=======
site :opscode
cookbook "application_ruby"