Sha256: 2f3674eee78ac454867fda9deb71e467812b94924b34d268fbb6ce384794b18f
Contents?: true
Size: 660 Bytes
Versions: 2
Compression:
Stored size: 660 Bytes
Contents
require 'vagrant' require 'vagrant-hosts' require 'vagrant-hosts/version' if Vagrant::VERSION < VagrantHosts::REQUIRED_VAGRANT_VERSION raise "vagrant-hosts version #{VagrantHosts::VERSION} requires Vagrant " + "#{VagrantHosts::REQUIRED_VAGRANT_VERSION} or later" end class VagrantHosts::Plugin < Vagrant.plugin(2) name 'hosts' description <<-DESC This plugin adds commands and provisioners to manage static host entries on Vagrant guests. DESC provisioner(:hosts) do require_relative 'provisioner' VagrantHosts::Provisioner end config(:hosts, :provisioner) do require_relative 'config' VagrantHosts::Config end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-hosts-1.1.1 | lib/vagrant-hosts/plugin.rb |
vagrant-hosts-1.1.0 | lib/vagrant-hosts/plugin.rb |