lib/vagrant/provisioners/chef.rb in vagrantup-0.6.8 vs lib/vagrant/provisioners/chef.rb in vagrantup-0.6.9

- old
+ new

@@ -1,12 +1,12 @@ module Vagrant module Provisioners - # This class is a base class where the common functinality shared between + # This class is a base class where the common functionality shared between # chef-solo and chef-client provisioning are stored. This is **not an actual # provisioner**. Instead, {ChefSolo} or {ChefServer} should be used. class Chef < Base def prepare - raise ChefError.new(:invalid_provisioner) + raise ChefError, :invalid_provisioner end def verify_binary(binary) vm.ssh.execute do |ssh| # Checks for the existence of chef binary and error if it