lib/vagrant-orchestrate/plugin.rb in vagrant-orchestrate-0.4.4 vs lib/vagrant-orchestrate/plugin.rb in vagrant-orchestrate-0.4.5

- old
+ new

@@ -32,27 +32,27 @@ require_relative "command/root" Command::Root end + action_hook(:orchestrate, Plugin::ALL_ACTIONS) do |hook| + hook.before Vagrant::Action::Builtin::ConfigValidate, Action::SetCredentials + end + action_hook(:orchestrate, :machine_action_up) do |hook| hook.prepend Action::FilterManaged - hook.prepend Action::SetCredentials end action_hook(:orchestrate, :machine_action_provision) do |hook| hook.prepend Action::FilterManaged - hook.prepend Action::SetCredentials end action_hook(:orchestrate, :machine_action_destroy) do |hook| hook.prepend Action::FilterManaged - hook.prepend Action::SetCredentials end action_hook(:orchestrate, :machine_action_reload) do |hook| hook.prepend Action::FilterManaged - hook.prepend Action::SetCredentials end # This initializes the internationalization strings. def self.setup_i18n I18n.load_path << File.expand_path("locales/en.yml", Orchestrate.source_root)