Sha256: afc0965e9b74b597a2b009ccc77e57645003d3b694bb9c805b5f68f7a70c56bd

Contents?: true

Size: 630 Bytes

Versions: 7

Compression:

Stored size: 630 Bytes

Contents

begin
  require "vagrant"
rescue LoadError
  raise "The Vagrant vmpooler plugin must be run within Vagrant."
end

module VagrantPlugins
  module Vmpooler
    class Plugin < Vagrant.plugin("2")
      name "Vmpooler"
      description <<-DESC
      This plugin installs a provider that allows Vagrant to manage
      machines in vmpooler.
      DESC

      config(:vmpooler, :provider) do
        require_relative "config"
        Config
      end

      provider(:vmpooler, parallel:true) do
        Vmpooler.init_i18n
        Vmpooler.init_logging

        require_relative 'provider'
        Provider
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vagrant-vmpooler-0.1.9 lib/vagrant-vmpooler/plugin.rb
vagrant-vmpooler-0.1.8 lib/vagrant-vmpooler/plugin.rb
vagrant-vmpooler-0.1.7 lib/vagrant-vmpooler/plugin.rb
vagrant-vmpooler-0.1.6 lib/vagrant-vmpooler/plugin.rb
vagrant-vmpooler-0.1.5 lib/vagrant-vmpooler/plugin.rb
vagrant-vmpooler-0.1.4 lib/vagrant-vmpooler/plugin.rb
vagrant-vmpooler-0.1.2 lib/vagrant-vmpooler/plugin.rb