lib/vagrant-vcenter/plugin.rb in vagrant-vcenter-0.1.0 vs lib/vagrant-vcenter/plugin.rb in vagrant-vcenter-0.1.1

- old
+ new

@@ -10,11 +10,11 @@ module VagrantPlugins module VCenter # Initialize Vagrant Plugin class Plugin < Vagrant.plugin('2') - name 'vCenter' + name 'VMware vCenter Provider' description 'Allows Vagrant to manage machines with VMware vCenter (R)' config(:vcenter, :provider) do require_relative 'config' Config @@ -25,9 +25,15 @@ setup_i18n # Return the provider require_relative 'provider' Provider + end + + # Add vagrant share support + provider_capability('vcenter', 'public_address') do + require_relative 'cap/public_address' + Cap::PublicAddress end def self.setup_i18n I18n.load_path << File.expand_path('locales/en.yml', VCenter.source_root)