Simple wording changes

This commit is contained in:
Mitchell Hashimoto 2010-05-25 19:20:47 -07:00
parent 77bcd9919d
commit c16df0d26a
2 changed files with 65 additions and 62 deletions

View File

@ -36,7 +36,7 @@ module Vagrant
# Host-only or Bridged networking don't require port-forwarding and establishing forwarded ports on these # Host-only or Bridged networking don't require port-forwarding and establishing forwarded ports on these
# attachment types has uncertain behaviour. # attachment types has uncertain behaviour.
if @runner.vm.network_adapters[adapter].attachment_type == :nat if @runner.vm.network_adapters[adapter].attachment_type == :nat
logger.info "Forwarding \"#{name}\": #{options[:guestport]} on Adapter\##{adapter+1} => #{options[:hostport]}" logger.info "Forwarding \"#{name}\": #{options[:guestport]} on adapter \##{adapter+1} => #{options[:hostport]}"
port = VirtualBox::ForwardedPort.new port = VirtualBox::ForwardedPort.new
port.name = name port.name = name
port.hostport = options[:hostport] port.hostport = options[:hostport]
@ -44,8 +44,8 @@ module Vagrant
port.instance = adapter port.instance = adapter
@runner.vm.forwarded_ports << port @runner.vm.forwarded_ports << port
else else
logger.info "VirtualBox Adapter\##{adapter+1} not configured as \"NAT\"." logger.info "VirtualBox adapter \##{adapter+1} not configured as \"NAT\"."
logger.info "Skipped setting forwarding \"#{name}\": #{options[:guestport]} on Adapter\##{adapter+1} => #{options[:hostport]}" logger.info "Skipped port forwarding \"#{name}\": #{options[:guestport]} on adapter\##{adapter+1} => #{options[:hostport]}"
end end
end end

View File

@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = ["Mitchell Hashimoto", "John Bender"] s.authors = ["Mitchell Hashimoto", "John Bender"]
s.date = %q{2010-05-22} s.date = %q{2010-05-25}
s.default_executable = %q{vagrant} s.default_executable = %q{vagrant}
s.description = %q{Vagrant is a tool for building and distributing virtualized development environments.} s.description = %q{Vagrant is a tool for building and distributing virtualized development environments.}
s.email = ["mitchell.hashimoto@gmail.com", "john.m.bender@gmail.com"] s.email = ["mitchell.hashimoto@gmail.com", "john.m.bender@gmail.com"]
@ -92,6 +92,7 @@ Gem::Specification.new do |s|
"lib/vagrant/ssh.rb", "lib/vagrant/ssh.rb",
"lib/vagrant/systems/base.rb", "lib/vagrant/systems/base.rb",
"lib/vagrant/systems/linux.rb", "lib/vagrant/systems/linux.rb",
"lib/vagrant/util.rb",
"lib/vagrant/util/error_helper.rb", "lib/vagrant/util/error_helper.rb",
"lib/vagrant/util/glob_loader.rb", "lib/vagrant/util/glob_loader.rb",
"lib/vagrant/util/output_helper.rb", "lib/vagrant/util/output_helper.rb",
@ -174,6 +175,7 @@ Gem::Specification.new do |s|
"test/vagrant/util/stacked_proc_runner_test.rb", "test/vagrant/util/stacked_proc_runner_test.rb",
"test/vagrant/util/template_renderer_test.rb", "test/vagrant/util/template_renderer_test.rb",
"test/vagrant/util/translator_test.rb", "test/vagrant/util/translator_test.rb",
"test/vagrant/util_test.rb",
"test/vagrant/vm_test.rb", "test/vagrant/vm_test.rb",
"vagrant.gemspec" "vagrant.gemspec"
] ]
@ -183,72 +185,73 @@ Gem::Specification.new do |s|
s.rubygems_version = %q{1.3.6} s.rubygems_version = %q{1.3.6}
s.summary = %q{Vagrant is a tool for building and distributing virtualized development environments.} s.summary = %q{Vagrant is a tool for building and distributing virtualized development environments.}
s.test_files = [ s.test_files = [
"test/vagrant/box_test.rb", "test/test_helper.rb",
"test/vagrant/resource_logger_test.rb",
"test/vagrant/ssh_test.rb",
"test/vagrant/environment_test.rb",
"test/vagrant/provisioners/base_test.rb",
"test/vagrant/provisioners/chef_solo_test.rb",
"test/vagrant/provisioners/chef_server_test.rb",
"test/vagrant/provisioners/chef_test.rb",
"test/vagrant/commands/ssh_test.rb",
"test/vagrant/commands/destroy_test.rb",
"test/vagrant/commands/resume_test.rb",
"test/vagrant/commands/halt_test.rb",
"test/vagrant/commands/provision_test.rb",
"test/vagrant/commands/status_test.rb",
"test/vagrant/commands/base_test.rb",
"test/vagrant/commands/up_test.rb",
"test/vagrant/commands/reload_test.rb",
"test/vagrant/commands/package_test.rb",
"test/vagrant/commands/init_test.rb",
"test/vagrant/commands/ssh_config_test.rb",
"test/vagrant/commands/box/list_test.rb",
"test/vagrant/commands/box/add_test.rb",
"test/vagrant/commands/box/remove_test.rb",
"test/vagrant/commands/suspend_test.rb",
"test/vagrant/config_test.rb",
"test/vagrant/vm_test.rb", "test/vagrant/vm_test.rb",
"test/vagrant/downloaders/base_test.rb",
"test/vagrant/downloaders/http_test.rb",
"test/vagrant/downloaders/file_test.rb",
"test/vagrant/command_test.rb", "test/vagrant/command_test.rb",
"test/vagrant/active_list_test.rb", "test/vagrant/environment_test.rb",
"test/vagrant/util_test.rb",
"test/vagrant/box_test.rb",
"test/vagrant/busy_test.rb", "test/vagrant/busy_test.rb",
"test/vagrant/provisioners/base_test.rb",
"test/vagrant/provisioners/chef_test.rb",
"test/vagrant/provisioners/chef_server_test.rb",
"test/vagrant/provisioners/chef_solo_test.rb",
"test/vagrant/systems/linux_test.rb", "test/vagrant/systems/linux_test.rb",
"test/vagrant/util/output_helper_test.rb", "test/vagrant/config_test.rb",
"test/vagrant/util/plain_logger_test.rb",
"test/vagrant/util/stacked_proc_runner_test.rb",
"test/vagrant/util/error_helper_test.rb",
"test/vagrant/util/platform_test.rb",
"test/vagrant/util/template_renderer_test.rb",
"test/vagrant/util/translator_test.rb",
"test/vagrant/actions/vm/start_test.rb",
"test/vagrant/actions/vm/destroy_test.rb",
"test/vagrant/actions/vm/customize_test.rb",
"test/vagrant/actions/vm/resume_test.rb",
"test/vagrant/actions/vm/halt_test.rb",
"test/vagrant/actions/vm/provision_test.rb",
"test/vagrant/actions/vm/import_test.rb",
"test/vagrant/actions/vm/up_test.rb",
"test/vagrant/actions/vm/boot_test.rb",
"test/vagrant/actions/vm/reload_test.rb",
"test/vagrant/actions/vm/shared_folders_test.rb",
"test/vagrant/actions/vm/package_test.rb",
"test/vagrant/actions/vm/move_hard_drive_test.rb",
"test/vagrant/actions/vm/forward_ports_test.rb",
"test/vagrant/actions/vm/suspend_test.rb",
"test/vagrant/actions/vm/down_test.rb",
"test/vagrant/actions/vm/export_test.rb",
"test/vagrant/actions/base_test.rb", "test/vagrant/actions/base_test.rb",
"test/vagrant/actions/runner_test.rb", "test/vagrant/actions/runner_test.rb",
"test/vagrant/actions/collection_test.rb",
"test/vagrant/actions/box/destroy_test.rb",
"test/vagrant/actions/box/download_test.rb",
"test/vagrant/actions/box/verify_test.rb", "test/vagrant/actions/box/verify_test.rb",
"test/vagrant/actions/box/unpackage_test.rb", "test/vagrant/actions/box/destroy_test.rb",
"test/vagrant/actions/box/add_test.rb", "test/vagrant/actions/box/add_test.rb",
"test/test_helper.rb" "test/vagrant/actions/box/unpackage_test.rb",
"test/vagrant/actions/box/download_test.rb",
"test/vagrant/actions/collection_test.rb",
"test/vagrant/actions/vm/reload_test.rb",
"test/vagrant/actions/vm/suspend_test.rb",
"test/vagrant/actions/vm/boot_test.rb",
"test/vagrant/actions/vm/package_test.rb",
"test/vagrant/actions/vm/down_test.rb",
"test/vagrant/actions/vm/shared_folders_test.rb",
"test/vagrant/actions/vm/destroy_test.rb",
"test/vagrant/actions/vm/halt_test.rb",
"test/vagrant/actions/vm/import_test.rb",
"test/vagrant/actions/vm/customize_test.rb",
"test/vagrant/actions/vm/start_test.rb",
"test/vagrant/actions/vm/move_hard_drive_test.rb",
"test/vagrant/actions/vm/up_test.rb",
"test/vagrant/actions/vm/export_test.rb",
"test/vagrant/actions/vm/provision_test.rb",
"test/vagrant/actions/vm/resume_test.rb",
"test/vagrant/actions/vm/forward_ports_test.rb",
"test/vagrant/active_list_test.rb",
"test/vagrant/commands/base_test.rb",
"test/vagrant/commands/reload_test.rb",
"test/vagrant/commands/ssh_config_test.rb",
"test/vagrant/commands/suspend_test.rb",
"test/vagrant/commands/package_test.rb",
"test/vagrant/commands/status_test.rb",
"test/vagrant/commands/init_test.rb",
"test/vagrant/commands/destroy_test.rb",
"test/vagrant/commands/halt_test.rb",
"test/vagrant/commands/box/remove_test.rb",
"test/vagrant/commands/box/add_test.rb",
"test/vagrant/commands/box/list_test.rb",
"test/vagrant/commands/up_test.rb",
"test/vagrant/commands/provision_test.rb",
"test/vagrant/commands/resume_test.rb",
"test/vagrant/commands/ssh_test.rb",
"test/vagrant/resource_logger_test.rb",
"test/vagrant/downloaders/base_test.rb",
"test/vagrant/downloaders/file_test.rb",
"test/vagrant/downloaders/http_test.rb",
"test/vagrant/util/stacked_proc_runner_test.rb",
"test/vagrant/util/output_helper_test.rb",
"test/vagrant/util/template_renderer_test.rb",
"test/vagrant/util/translator_test.rb",
"test/vagrant/util/platform_test.rb",
"test/vagrant/util/error_helper_test.rb",
"test/vagrant/util/plain_logger_test.rb",
"test/vagrant/ssh_test.rb"
] ]
if s.respond_to? :specification_version then if s.respond_to? :specification_version then