Sha256: f1d3a8f46502568ffad380b5e38a541db60d01bd212236c8e2b6f8a4d8c36ab3

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

require 'vagrant'
require 'vagrant-hosts'
require 'vagrant-hosts/version'

if Vagrant::VERSION < "1.1.0"
  raise "vagrant-hosts version #{VagrantHosts::VERSION} requires Vagrant 1.1 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

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-hosts-1.0.0 lib/vagrant-hosts/plugin.rb