lib/pe_build/plugin.rb in vagrant-pe_build-0.3.0 vs lib/pe_build/plugin.rb in vagrant-pe_build-0.4.0
- old
+ new
@@ -16,16 +16,16 @@
DESC
# User facing plugin configuration
config(:pe_bootstrap, :provisioner) do
- require_relative 'config/pe_bootstrap'
+ require_relative 'config'
PEBuild::Config::PEBootstrap
end
config(:pe_build) do
- require_relative 'config/global'
+ require_relative 'config'
PEBuild::Config::Global
end
provisioner(:pe_bootstrap) do
require_relative 'provisioner/pe_bootstrap'
@@ -67,8 +67,12 @@
# internal action hooks
action_hook('PE Build: initialize build dir') do |hook|
require 'pe_build/action'
hook.prepend PEBuild::Action::PEBuildDir
+ end
+
+ def self.config_builder_hook
+ require_relative 'config_builder'
end
end
end