Chef client allow empty run list

This commit is contained in:
Mitchell Hashimoto 2011-08-02 23:17:46 -07:00
parent 6f4757bf1a
commit 9d7433cbe7
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ module Vagrant
errors.add(I18n.t("vagrant.config.chef.server_url_empty")) if !chef_server_url || chef_server_url.strip == ""
errors.add(I18n.t("vagrant.config.chef.validation_key_path")) if !validation_key_path
errors.add(I18n.t("vagrant.config.chef.run_list_empty")) if run_list && run_list.empty?
errors.add(I18n.t("vagrant.config.chef.run_list_empty")) if @run_list && @run_list.empty?
end
end