Sha256: c84756b4d782d91125cab27cbac8bfacba3ab792d2b8ea4ca14059a359b1524a

Contents?: true

Size: 878 Bytes

Versions: 6

Compression:

Stored size: 878 Bytes

Contents

unless Gem::Requirement.new('>= 1.4.0').satisfied_by?(Gem::Version.new(Vagrant::VERSION))
  raise 'vagrant-cachier requires Vagrant >= 1.4.0 in order to work!'
end

# Add our custom translations to the load path
I18n.load_path << File.expand_path("../../../locales/en.yml", __FILE__)

module VagrantPlugins
  module Cachier
    class Plugin < Vagrant.plugin('2')
      name 'vagrant-cachier'
      config 'cache' do
        require_relative "config"
        Config
      end
    end

    # Keep an eye on https://github.com/mitchellh/vagrant/wiki/Available-Vagrant-Plugins#wiki-providers
    # for more.
    CLOUD_PROVIDERS = %w( aws cloudstack digitalocean hp joyent openstack rackspace
                          softlayer proxmox managed azure brightbox cloudstack vcloud
                          vsphere )
  end
end

require_relative "hooks"
require_relative "capabilities"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-cachier-1.2.1 lib/vagrant-cachier/plugin.rb
vagrant-cachier-1.2.0 lib/vagrant-cachier/plugin.rb
vagrant-cachier-1.1.0 lib/vagrant-cachier/plugin.rb
vagrant-cachier-1.0.0 lib/vagrant-cachier/plugin.rb
vagrant-cachier-0.9.0 lib/vagrant-cachier/plugin.rb
vagrant-cachier-0.8.0 lib/vagrant-cachier/plugin.rb