5
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/berkshelf/vagrant/plugin.rb', line 5
def provision(hook)
hook.after(::Vagrant::Action::Builtin::Provision, Berkshelf::Vagrant::Action.upload)
hook.after(::Vagrant::Action::Builtin::Provision, Berkshelf::Vagrant::Action.install)
if defined?(VagrantPlugins::AWS::Action::TimedProvision)
hook.after(VagrantPlugins::AWS::Action::TimedProvision, Berkshelf::Vagrant::Action.upload)
hook.after(VagrantPlugins::AWS::Action::TimedProvision, Berkshelf::Vagrant::Action.install)
end
hook.before(::Vagrant::Action::Builtin::ConfigValidate, Berkshelf::Vagrant::Action.setup)
end
|