Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions lib/vagrant-aws/action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,18 @@ def self.action_up
end
end

# This action is called to resync shared folders
def self.action_reload
Vagrant::Action::Builder.new.tap do |b|
b.use ConfigValidate
b.use ConnectAWS
b.use Call, IsCreated do |env, b2|
b2.use SyncFolders
end
end
end


# The autoload farm
action_root = Pathname.new(File.expand_path("../action", __FILE__))
autoload :ConnectAWS, action_root.join("connect_aws")
Expand Down