Sha256: 1459b3c8c886c789db76cb05b4a3f04e8a96e18b0c198171ee4d0f74ffb50bb9

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 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

  action_hook(:hosts, :config_builder_extension) do
    require_relative 'config_builder'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-hosts-1.1.3 lib/vagrant-hosts/plugin.rb
vagrant-hosts-1.1.2 lib/vagrant-hosts/plugin.rb