Skip to content

Commit

Permalink
Removed deprecation notice for chef_server to chef_client
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Dec 22, 2011
1 parent ecbf7df commit 4093e79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions lib/vagrant/config/vm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,7 @@ def validate(env, errors)

# Each provisioner can validate itself
provisioners.each do |prov|
# TODO: Remove at some point
if prov.shortcut == :chef_server
errors.add(I18n.t("vagrant.config.vm.provisioner_chef_server_changed"))
else
prov.validate(env, errors)
end
prov.validate(env, errors)
end
end
end
Expand Down
1 change: 0 additions & 1 deletion templates/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ en:
shared_folder_hostpath_missing: "Shared folder host path for '%{name}' doesn't exist: %{path}"
shared_folder_nfs_owner_group: |-
Shared folder '%{name}': NFS does not support the owner/group settings.
provisioner_chef_server_changed: "The provisioner 'chef_server' is now 'chef_client'"
provisioner_not_found: "The provisioner '%{shortcut}' doesn't exist."
provisioner_invalid_class: "The provisioner '%{shortcut}' must inherit from `Vagrant::Provisioners::Base`."

Expand Down

0 comments on commit 4093e79

Please sign in to comment.