Added provisioning to the "up" sequence.

This commit is contained in:
Mitchell Hashimoto 2010-02-15 18:50:29 -08:00
parent 97f9d4c5ef
commit 57de04abac
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
module Vagrant
module Actions
class Provision < Base
def execute!
def after_boot
chown_provisioning_folder
setup_json
setup_solo_config

View File

@ -4,7 +4,7 @@ module Vagrant
def prepare
# Up is a "meta-action" so it really just queues up a bunch
# of other actions in its place:
steps = [Import, ForwardPorts, SharedFolders, Start]
steps = [Import, ForwardPorts, SharedFolders, Start, Provision]
steps.insert(1, MoveHardDrive) if Vagrant.config.vm.hd_location
steps.each do |action_klass|

View File

@ -8,7 +8,7 @@ class UpActionTest < Test::Unit::TestCase
context "sub-actions" do
setup do
@default_order = [Vagrant::Actions::Import, Vagrant::Actions::ForwardPorts, Vagrant::Actions::SharedFolders, Vagrant::Actions::Start]
@default_order = [Vagrant::Actions::Import, Vagrant::Actions::ForwardPorts, Vagrant::Actions::SharedFolders, Vagrant::Actions::Start, Vagrant::Actions::Provision]
end
def setup_action_expectations