lib/config_builder/plugin.rb in vagrant-config_builder-1.2.0 vs lib/config_builder/plugin.rb in vagrant-config_builder-1.3.0
- old
+ new
@@ -8,8 +8,14 @@
name "Generate Vagrant configuration from logic-less data sources"
action_hook('ConfigBuilder: load extensions', :environment_load) do |hook|
hook.prepend(::ConfigBuilder::Action::LoadExtensions)
end
+
+ # Internal action hooks
+ action_hook('Vagrant Config Builder: vagrant version check', :environment_load) do |hook|
+ require 'config_builder/action/version_check'
+ hook.prepend(::ConfigBuilder::Action::VersionCheck)
+ end
end
end
end