Added provisioning to the "up" sequence.
This commit is contained in:
parent
97f9d4c5ef
commit
57de04abac
|
@ -1,7 +1,7 @@
|
|||
module Vagrant
|
||||
module Actions
|
||||
class Provision < Base
|
||||
def execute!
|
||||
def after_boot
|
||||
chown_provisioning_folder
|
||||
setup_json
|
||||
setup_solo_config
|
||||
|
|
|
@ -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|
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue