Don't clear the run_list always. Allow the run_list on the chef server to be used!

This commit is contained in:
Dreamcat4 2010-11-14 18:30:14 +00:00 committed by Mitchell Hashimoto
parent 4091b35a51
commit 63292fba96
1 changed files with 1 additions and 2 deletions

View File

@ -91,13 +91,12 @@ module Vagrant
@log_level = :info
@json = {
:instance_role => "vagrant",
:run_list => []
}
end
# Returns the run list for the provisioning
def run_list
json[:run_list]
json[:run_list] ||= []
end
# Sets the run list to the specified value