Sha256: c8393c3c6b37fa1335e1795862d378ea6e84b744967e3bcad137a8ea3af311b4

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

require 'vagrant'

require 'config_builder/action/load_extensions'

module VagrantPlugins
  module ConfigBuilder
    class Plugin < Vagrant.plugin('2')
      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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-config_builder-1.3.0 lib/config_builder/plugin.rb