Sha256: c24d057587dbfed12b7b3c5c5174671743f02d957524d5b33e192e72fadcec53
Contents?: true
Size: 978 Bytes
Versions: 2
Compression:
Stored size: 978 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 config(:hosts, :provisioner) do require_relative 'config' VagrantHosts::Config end provisioner(:hosts) do require_relative 'provisioner/hosts' VagrantHosts::Provisioner::Hosts end # Guest capabilities for vagrant-hosts guest_capability(:linux, 'sync_hosts') do require_relative 'cap' VagrantHosts::Cap::SyncHosts::POSIX end guest_capability(:solaris, 'sync_hosts') do require_relative 'cap' VagrantHosts::Cap::SyncHosts::POSIX end guest_capability(:windows, 'sync_hosts') do require_relative 'cap' VagrantHosts::Cap::SyncHosts::Windows end # ConfigBuilder tie-ins 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-2.0.0 | lib/vagrant-hosts/plugin.rb |
vagrant-hosts-2.0.0rc1 | lib/vagrant-hosts/plugin.rb |