Sha256: a4b2db78487b43fce688159a00fb87ce839d56975259a3b403c104cde7c248b8
Contents?: true
Size: 899 Bytes
Versions: 11
Compression:
Stored size: 899 Bytes
Contents
begin require "vagrant" rescue LoadError raise "The OpenStack Cloud provider 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 "OpenStack Cloud provider is only compatible with Vagrant 1.2+" end module VagrantPlugins module OpenStack class Plugin < Vagrant.plugin("2") name "OpenStack Cloud" description <<-DESC This plugin enables Vagrant to manage machines in OpenStack Cloud. DESC config(:openstack, :provider) do require_relative "config" Config end provider(:openstack, parallel: true) do # Setup some things OpenStack.init_i18n OpenStack.init_logging # Load the actual provider require_relative "provider" Provider end end end end
Version data entries
11 entries across 11 versions & 2 rubygems