Sha256: ec0156bcb1c7b362745bb0d08ee70c8a0ad338877f60df2f48f7b5f978ce05d4

Contents?: true

Size: 536 Bytes

Versions: 2

Compression:

Stored size: 536 Bytes

Contents

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

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

  def self.config_builder_hook
    require_relative 'config_builder'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-hosts-1.1.5 lib/vagrant-hosts/plugin.rb
vagrant-hosts-1.1.4 lib/vagrant-hosts/plugin.rb