Don't clear the run_list always. Allow the run_list on the chef server to be used!
This commit is contained in:
parent
4091b35a51
commit
63292fba96
|
@ -91,13 +91,12 @@ module Vagrant
|
||||||
@log_level = :info
|
@log_level = :info
|
||||||
@json = {
|
@json = {
|
||||||
:instance_role => "vagrant",
|
:instance_role => "vagrant",
|
||||||
:run_list => []
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the run list for the provisioning
|
# Returns the run list for the provisioning
|
||||||
def run_list
|
def run_list
|
||||||
json[:run_list]
|
json[:run_list] ||= []
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sets the run list to the specified value
|
# Sets the run list to the specified value
|
||||||
|
|
Loading…
Reference in New Issue