Sha256: e8260f186f3ce6b1ac11ca960a1b3c89dec7eec2cfcad26b8c2cda716a5053de

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

require 'log4r'

module VagrantPluginDummy
  module Guest
    module Cap
      class ConfigureNetworks

        @@logger = Log4r::Logger.new("vagrant_plugin_dummy::guest::cap::configure_networks")

        def self.configure_networks(machine, networks)
          @@logger.debug("networks: #{networks.inspect}")
          @@logger.warn('This is just DUMMY method.')
          @@logger.warn('You will need to manually configure the network adapter.')
          exit(0)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-plugin-dummy-0.0.7 lib/vagrant-plugin-dummy/guest/cap/configure_networks.rb
vagrant-plugin-dummy-0.0.6 lib/vagrant-plugin-dummy/guest/cap/configure_networks.rb
vagrant-plugin-dummy-0.0.5 lib/vagrant-plugin-dummy/guest/cap/configure_networks.rb