Sha256: 72006a24b8c69407b9d760e3a9064c54e262e0511bcc8f3a4fcfd89f8659949b

Contents?: true

Size: 672 Bytes

Versions: 4

Compression:

Stored size: 672 Bytes

Contents

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

# This is a sanity check to make sure no one is attempting to install
# this into an early Vagrant version.
if Vagrant::VERSION < "1.2.0"
  raise "The Vagrant Coral plugin is only compatible with Vagrant 1.2+"
end

module VagrantPlugins
  module Coral
    class Plugin < ::Vagrant.plugin('2')
      name 'coral plugins'
      description 'The `coral` plugin provides an easy way to manage and sync coral clusters locally and on the cloud from within Vagrant.'

      command('coral') do
        ::Coral::Vagrant::Command::CoralBase
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coral_vagrant-0.2.8 lib/plugin.rb
coral_vagrant-0.2.5 lib/plugin.rb
coral_vagrant-0.2.4 lib/plugin.rb
coral_vagrant-0.2.3 lib/plugin.rb