vagrantup 1.0.7 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +91 -0
- data/LICENSE +2 -2
- data/README.md +11 -13
- data/bin/vagrant +29 -5
- data/config/default.rb +14 -9
- data/contrib/bash/completion.sh +3 -0
- data/keys/README.md +3 -3
- data/lib/vagrant.rb +156 -102
- data/lib/vagrant/action.rb +26 -47
- data/lib/vagrant/action/builder.rb +49 -23
- data/lib/vagrant/action/builtin/box_add.rb +85 -0
- data/lib/vagrant/action/builtin/call.rb +67 -0
- data/lib/vagrant/action/builtin/config_validate.rb +30 -0
- data/lib/vagrant/action/builtin/confirm.rb +38 -0
- data/lib/vagrant/action/builtin/env_set.rb +24 -0
- data/lib/vagrant/action/builtin/graceful_halt.rb +73 -0
- data/lib/vagrant/action/builtin/handle_box_url.rb +43 -0
- data/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb +117 -0
- data/lib/vagrant/action/builtin/lock.rb +57 -0
- data/lib/vagrant/action/builtin/nfs.rb +117 -0
- data/lib/vagrant/action/builtin/provision.rb +70 -0
- data/lib/vagrant/action/builtin/set_hostname.rb +27 -0
- data/lib/vagrant/action/builtin/ssh_exec.rb +42 -0
- data/lib/vagrant/action/builtin/ssh_run.rb +43 -0
- data/lib/vagrant/action/general/package.rb +19 -18
- data/lib/vagrant/action/hook.rb +103 -0
- data/lib/vagrant/action/runner.rb +21 -5
- data/lib/vagrant/action/warden.rb +20 -9
- data/lib/vagrant/box.rb +75 -26
- data/lib/vagrant/box_collection.rb +301 -35
- data/lib/vagrant/cli.rb +20 -14
- data/lib/vagrant/config.rb +23 -9
- data/lib/vagrant/config/loader.rb +131 -36
- data/lib/vagrant/config/v1.rb +9 -0
- data/lib/vagrant/config/v1/dummy_config.rb +13 -0
- data/lib/vagrant/config/v1/loader.rb +105 -0
- data/lib/vagrant/config/v1/root.rb +60 -0
- data/lib/vagrant/config/v2.rb +9 -0
- data/lib/vagrant/config/v2/dummy_config.rb +13 -0
- data/lib/vagrant/config/v2/loader.rb +141 -0
- data/lib/vagrant/config/v2/root.rb +105 -0
- data/lib/vagrant/config/v2/util.rb +21 -0
- data/lib/vagrant/config/version_base.rb +80 -0
- data/lib/vagrant/downloaders/base.rb +0 -3
- data/lib/vagrant/downloaders/file.rb +10 -4
- data/lib/vagrant/downloaders/http.rb +29 -10
- data/lib/vagrant/environment.rb +447 -240
- data/lib/vagrant/errors.rb +138 -97
- data/lib/vagrant/hosts.rb +3 -12
- data/lib/vagrant/machine.rb +325 -0
- data/lib/vagrant/machine_state.rb +45 -0
- data/lib/vagrant/plugin.rb +3 -78
- data/lib/vagrant/plugin/v1.rb +19 -0
- data/lib/vagrant/plugin/v1/command.rb +169 -0
- data/lib/vagrant/plugin/v1/communicator.rb +98 -0
- data/lib/vagrant/plugin/v1/config.rb +112 -0
- data/lib/vagrant/plugin/v1/errors.rb +15 -0
- data/lib/vagrant/plugin/v1/guest.rb +92 -0
- data/lib/vagrant/plugin/v1/host.rb +66 -0
- data/lib/vagrant/plugin/v1/manager.rb +131 -0
- data/lib/vagrant/plugin/v1/plugin.rb +229 -0
- data/lib/vagrant/plugin/v1/provider.rb +68 -0
- data/lib/vagrant/plugin/v1/provisioner.rb +50 -0
- data/lib/vagrant/plugin/v2.rb +22 -0
- data/lib/vagrant/plugin/v2/command.rb +234 -0
- data/lib/vagrant/plugin/v2/communicator.rb +98 -0
- data/lib/vagrant/plugin/v2/components.rb +29 -0
- data/lib/vagrant/plugin/v2/config.rb +101 -0
- data/lib/vagrant/plugin/v2/errors.rb +15 -0
- data/lib/vagrant/plugin/v2/guest.rb +92 -0
- data/lib/vagrant/plugin/v2/host.rb +66 -0
- data/lib/vagrant/plugin/v2/manager.rb +158 -0
- data/lib/vagrant/plugin/v2/plugin.rb +217 -0
- data/lib/vagrant/plugin/v2/provider.rb +69 -0
- data/lib/vagrant/plugin/v2/provisioner.rb +47 -0
- data/lib/vagrant/registry.rb +43 -17
- data/lib/vagrant/ssh.rb +15 -9
- data/lib/vagrant/ui.rb +7 -5
- data/lib/vagrant/util/is_port_open.rb +1 -1
- data/lib/vagrant/util/platform.rb +19 -0
- data/lib/vagrant/util/retryable.rb +8 -2
- data/lib/vagrant/util/safe_exec.rb +2 -2
- data/lib/vagrant/util/scoped_hash_override.rb +45 -0
- data/lib/vagrant/util/ssh.rb +126 -0
- data/lib/vagrant/util/string_block_editor.rb +75 -0
- data/lib/vagrant/util/subprocess.rb +33 -10
- data/lib/vagrant/util/which.rb +43 -0
- data/lib/vagrant/version.rb +1 -1
- data/plugins/README.md +5 -0
- data/plugins/commands/box/command/add.rb +46 -0
- data/plugins/commands/box/command/list.rb +41 -0
- data/plugins/commands/box/command/remove.rb +37 -0
- data/plugins/commands/box/command/repackage.rb +43 -0
- data/plugins/commands/box/command/root.rb +75 -0
- data/plugins/commands/box/plugin.rb +15 -0
- data/plugins/commands/destroy/command.rb +31 -0
- data/plugins/commands/destroy/plugin.rb +18 -0
- data/plugins/commands/halt/command.rb +33 -0
- data/plugins/commands/halt/plugin.rb +18 -0
- data/{lib/vagrant/command/init.rb → plugins/commands/init/command.rb} +4 -4
- data/plugins/commands/init/plugin.rb +18 -0
- data/plugins/commands/package/command.rb +83 -0
- data/plugins/commands/package/plugin.rb +18 -0
- data/plugins/commands/plugin/action.rb +52 -0
- data/plugins/commands/plugin/action/bundler_check.rb +25 -0
- data/plugins/commands/plugin/action/install_gem.rb +70 -0
- data/plugins/commands/plugin/action/license_plugin.rb +54 -0
- data/plugins/commands/plugin/action/list_plugins.rb +54 -0
- data/plugins/commands/plugin/action/prune_gems.rb +149 -0
- data/plugins/commands/plugin/action/uninstall_plugin.rb +23 -0
- data/plugins/commands/plugin/command/base.rb +22 -0
- data/plugins/commands/plugin/command/install.rb +39 -0
- data/plugins/commands/plugin/command/license.rb +31 -0
- data/plugins/commands/plugin/command/list.rb +28 -0
- data/plugins/commands/plugin/command/root.rb +75 -0
- data/plugins/commands/plugin/command/uninstall.rb +28 -0
- data/plugins/commands/plugin/gem_helper.rb +74 -0
- data/plugins/commands/plugin/plugin.rb +22 -0
- data/plugins/commands/plugin/state_file.rb +57 -0
- data/plugins/commands/provision/command.rb +34 -0
- data/plugins/commands/provision/plugin.rb +18 -0
- data/plugins/commands/reload/command.rb +37 -0
- data/plugins/commands/reload/plugin.rb +18 -0
- data/plugins/commands/resume/command.rb +25 -0
- data/plugins/commands/resume/plugin.rb +17 -0
- data/{lib/vagrant/command/ssh.rb → plugins/commands/ssh/command.rb} +17 -41
- data/plugins/commands/ssh/plugin.rb +17 -0
- data/{lib/vagrant/command/ssh_config.rb → plugins/commands/ssh_config/command.rb} +14 -16
- data/plugins/commands/ssh_config/plugin.rb +18 -0
- data/plugins/commands/status/command.rb +39 -0
- data/plugins/commands/status/plugin.rb +18 -0
- data/plugins/commands/suspend/command.rb +25 -0
- data/plugins/commands/suspend/plugin.rb +18 -0
- data/plugins/commands/up/command.rb +45 -0
- data/plugins/commands/up/plugin.rb +17 -0
- data/{lib/vagrant/command → plugins/commands/up}/start_mixins.rb +6 -6
- data/{lib/vagrant/communication/ssh.rb → plugins/communicators/ssh/communicator.rb} +139 -52
- data/plugins/communicators/ssh/plugin.rb +19 -0
- data/plugins/guests/arch/guest.rb +41 -0
- data/plugins/guests/arch/plugin.rb +15 -0
- data/{lib/vagrant/guest/debian.rb → plugins/guests/debian/guest.rb} +21 -13
- data/plugins/guests/debian/plugin.rb +15 -0
- data/{lib/vagrant/guest/fedora.rb → plugins/guests/fedora/guest.rb} +19 -14
- data/plugins/guests/fedora/plugin.rb +15 -0
- data/plugins/guests/freebsd/config.rb +13 -0
- data/plugins/guests/freebsd/guest.rb +70 -0
- data/plugins/guests/freebsd/plugin.rb +20 -0
- data/plugins/guests/gentoo/guest.rb +51 -0
- data/plugins/guests/gentoo/plugin.rb +15 -0
- data/plugins/guests/linux/config.rb +13 -0
- data/{lib/vagrant/guest/linux.rb → plugins/guests/linux/guest.rb} +35 -34
- data/plugins/guests/linux/plugin.rb +20 -0
- data/plugins/guests/openbsd/guest.rb +13 -0
- data/plugins/guests/openbsd/plugin.rb +15 -0
- data/{lib/vagrant/guest/redhat.rb → plugins/guests/redhat/guest.rb} +22 -15
- data/plugins/guests/redhat/plugin.rb +15 -0
- data/plugins/guests/solaris/config.rb +18 -0
- data/plugins/guests/solaris/guest.rb +73 -0
- data/plugins/guests/solaris/plugin.rb +20 -0
- data/plugins/guests/suse/guest.rb +24 -0
- data/plugins/guests/suse/plugin.rb +15 -0
- data/plugins/guests/ubuntu/guest.rb +44 -0
- data/plugins/guests/ubuntu/plugin.rb +15 -0
- data/{lib/vagrant/hosts/arch.rb → plugins/hosts/arch/host.rb} +18 -5
- data/plugins/hosts/arch/plugin.rb +15 -0
- data/{lib/vagrant/hosts/bsd.rb → plugins/hosts/bsd/host.rb} +16 -11
- data/plugins/hosts/bsd/plugin.rb +15 -0
- data/{lib/vagrant/hosts/fedora.rb → plugins/hosts/fedora/host.rb} +8 -4
- data/plugins/hosts/fedora/plugin.rb +15 -0
- data/{lib/vagrant/hosts/freebsd.rb → plugins/hosts/freebsd/host.rb} +10 -8
- data/plugins/hosts/freebsd/plugin.rb +15 -0
- data/{lib/vagrant/hosts/gentoo.rb → plugins/hosts/gentoo/host.rb} +7 -3
- data/plugins/hosts/gentoo/plugin.rb +15 -0
- data/{lib/vagrant/hosts/linux.rb → plugins/hosts/linux/host.rb} +12 -11
- data/plugins/hosts/linux/plugin.rb +15 -0
- data/{lib/vagrant/hosts/opensuse.rb → plugins/hosts/opensuse/host.rb} +8 -4
- data/plugins/hosts/opensuse/plugin.rb +15 -0
- data/{lib/vagrant/hosts/windows.rb → plugins/hosts/windows/host.rb} +5 -4
- data/plugins/hosts/windows/plugin.rb +15 -0
- data/plugins/kernel_v1/config/nfs.rb +20 -0
- data/plugins/kernel_v1/config/package.rb +17 -0
- data/plugins/kernel_v1/config/ssh.rb +46 -0
- data/plugins/kernel_v1/config/vagrant.rb +31 -0
- data/plugins/kernel_v1/config/vm.rb +184 -0
- data/plugins/kernel_v1/plugin.rb +44 -0
- data/plugins/kernel_v2/config/nfs.rb +10 -0
- data/plugins/kernel_v2/config/package.rb +9 -0
- data/plugins/kernel_v2/config/ssh.rb +35 -0
- data/plugins/kernel_v2/config/vagrant.rb +9 -0
- data/plugins/kernel_v2/config/vm.rb +314 -0
- data/plugins/kernel_v2/config/vm_provisioner.rb +40 -0
- data/plugins/kernel_v2/config/vm_subvm.rb +30 -0
- data/plugins/kernel_v2/plugin.rb +44 -0
- data/plugins/providers/virtualbox/action.rb +308 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/boot.rb +12 -16
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/check_accessible.rb +5 -5
- data/plugins/providers/virtualbox/action/check_created.rb +21 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/check_guest_additions.rb +18 -11
- data/plugins/providers/virtualbox/action/check_running.rb +21 -0
- data/plugins/providers/virtualbox/action/check_virtualbox.rb +22 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/clean_machine_folder.rb +5 -5
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/clear_forwarded_ports.rb +4 -4
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/clear_network_interfaces.rb +4 -4
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/clear_shared_folders.rb +4 -5
- data/plugins/providers/virtualbox/action/created.rb +20 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/customize.rb +7 -7
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/destroy.rb +5 -5
- data/plugins/providers/virtualbox/action/destroy_confirm.rb +17 -0
- data/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb +16 -0
- data/plugins/providers/virtualbox/action/discard_state.rb +20 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/export.rb +7 -7
- data/plugins/providers/virtualbox/action/forced_halt.rb +25 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/forward_ports.rb +29 -42
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/import.rb +15 -12
- data/plugins/providers/virtualbox/action/is_paused.rb +20 -0
- data/plugins/providers/virtualbox/action/is_running.rb +20 -0
- data/plugins/providers/virtualbox/action/is_saved.rb +20 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/match_mac_address.rb +5 -5
- data/plugins/providers/virtualbox/action/message_not_created.rb +16 -0
- data/plugins/providers/virtualbox/action/message_not_running.rb +16 -0
- data/plugins/providers/virtualbox/action/message_will_not_destroy.rb +17 -0
- data/plugins/providers/virtualbox/action/network.rb +366 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/package.rb +4 -7
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/package_vagrantfile.rb +5 -8
- data/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb +35 -0
- data/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +51 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/prune_nfs_exports.rb +5 -5
- data/plugins/providers/virtualbox/action/resume.rb +25 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/sane_defaults.rb +41 -32
- data/plugins/providers/virtualbox/action/set_name.rb +40 -0
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/setup_package_files.rb +5 -8
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/share_folders.rb +24 -25
- data/{lib/vagrant/action/vm → plugins/providers/virtualbox/action}/suspend.rb +5 -5
- data/plugins/providers/virtualbox/config.rb +82 -0
- data/plugins/providers/virtualbox/driver/base.rb +344 -0
- data/plugins/providers/virtualbox/driver/meta.rb +142 -0
- data/plugins/providers/virtualbox/driver/version_4_0.rb +485 -0
- data/plugins/providers/virtualbox/driver/version_4_1.rb +485 -0
- data/plugins/providers/virtualbox/driver/version_4_2.rb +475 -0
- data/plugins/providers/virtualbox/model/forwarded_port.rb +58 -0
- data/plugins/providers/virtualbox/plugin.rb +42 -0
- data/plugins/providers/virtualbox/provider.rb +92 -0
- data/plugins/providers/virtualbox/util/compile_forwarded_ports.rb +31 -0
- data/plugins/provisioners/chef/config/base.rb +65 -0
- data/plugins/provisioners/chef/config/chef_client.rb +39 -0
- data/plugins/provisioners/chef/config/chef_solo.rb +87 -0
- data/plugins/provisioners/chef/plugin.rb +33 -0
- data/plugins/provisioners/chef/provisioner/base.rb +91 -0
- data/plugins/provisioners/chef/provisioner/chef_client.rb +103 -0
- data/plugins/provisioners/chef/provisioner/chef_solo.rb +182 -0
- data/plugins/provisioners/puppet/config/puppet.rb +70 -0
- data/plugins/provisioners/puppet/config/puppet_server.rb +16 -0
- data/plugins/provisioners/puppet/plugin.rb +33 -0
- data/plugins/provisioners/puppet/provisioner/puppet.rb +110 -0
- data/plugins/provisioners/puppet/provisioner/puppet_server.rb +67 -0
- data/plugins/provisioners/shell/config.rb +46 -0
- data/plugins/provisioners/shell/plugin.rb +23 -0
- data/plugins/provisioners/shell/provisioner.rb +66 -0
- data/templates/commands/init/Vagrantfile.erb +33 -21
- data/templates/commands/ssh_config/config.erb +1 -0
- data/templates/config/messages.erb +14 -0
- data/templates/config/validation_failed.erb +3 -3
- data/templates/guests/arch/network_dhcp.erb +4 -7
- data/templates/guests/arch/network_static.erb +6 -7
- data/templates/guests/debian/network_dhcp.erb +5 -0
- data/templates/locales/en.yml +336 -100
- data/templates/rgloader.rb +9 -0
- data/test/acceptance/support/isolated_environment.rb +3 -2
- data/test/support/tempdir.rb +13 -4
- data/test/unit/base.rb +6 -0
- data/test/unit/support/dummy_provider.rb +16 -0
- data/test/unit/support/isolated_environment.rb +132 -0
- data/test/unit/support/shared/base_context.rb +74 -0
- data/test/unit/vagrant/action/builder_test.rb +88 -48
- data/test/unit/vagrant/action/builtin/call_test.rb +145 -0
- data/test/unit/vagrant/action/builtin/confirm_test.rb +36 -0
- data/test/unit/vagrant/action/builtin/env_set_test.rb +20 -0
- data/test/unit/vagrant/action/builtin/graceful_halt_test.rb +61 -0
- data/test/unit/vagrant/action/builtin/lock_test.rb +98 -0
- data/test/unit/vagrant/action/builtin/ssh_exec_test.rb +57 -0
- data/test/unit/vagrant/action/hook_test.rb +101 -0
- data/test/unit/vagrant/action/runner_test.rb +15 -9
- data/test/unit/vagrant/box_collection_test.rb +219 -38
- data/test/unit/vagrant/box_test.rb +94 -19
- data/test/unit/vagrant/cli_test.rb +27 -0
- data/test/unit/vagrant/config/loader_test.rb +154 -49
- data/test/unit/vagrant/config/v1/dummy_config_test.rb +24 -0
- data/test/unit/vagrant/config/v1/loader_test.rb +145 -0
- data/test/unit/vagrant/config/v1/root_test.rb +40 -0
- data/test/unit/vagrant/config/v2/dummy_config_test.rb +24 -0
- data/test/unit/vagrant/config/v2/loader_test.rb +151 -0
- data/test/unit/vagrant/config/v2/root_test.rb +97 -0
- data/test/unit/vagrant/config/v2/util_test.rb +21 -0
- data/test/unit/vagrant/config_test.rb +40 -1
- data/test/unit/vagrant/downloaders/base_test.rb +0 -4
- data/test/unit/vagrant/downloaders/file_test.rb +21 -9
- data/test/unit/vagrant/downloaders/http_test.rb +4 -0
- data/test/unit/vagrant/environment_test.rb +414 -63
- data/test/unit/vagrant/hosts_test.rb +10 -9
- data/test/unit/vagrant/machine_state_test.rb +26 -0
- data/test/unit/vagrant/machine_test.rb +418 -0
- data/test/unit/vagrant/{command/base_test.rb → plugin/v1/command_test.rb} +2 -9
- data/test/unit/vagrant/plugin/v1/communicator_test.rb +9 -0
- data/test/unit/vagrant/plugin/v1/config_test.rb +50 -0
- data/test/unit/vagrant/plugin/v1/host_test.rb +5 -0
- data/test/unit/vagrant/plugin/v1/manager_test.rb +114 -0
- data/test/unit/vagrant/plugin/v1/plugin_test.rb +267 -0
- data/test/unit/vagrant/plugin/v1/provider_test.rb +18 -0
- data/test/unit/vagrant/plugin/v2/command_test.rb +238 -0
- data/test/unit/vagrant/plugin/v2/communicator_test.rb +9 -0
- data/test/unit/vagrant/plugin/v2/components_test.rb +17 -0
- data/test/unit/vagrant/plugin/v2/config_test.rb +60 -0
- data/test/unit/vagrant/plugin/v2/host_test.rb +5 -0
- data/test/unit/vagrant/plugin/v2/manager_test.rb +157 -0
- data/test/unit/vagrant/plugin/v2/plugin_test.rb +287 -0
- data/test/unit/vagrant/plugin/v2/provider_test.rb +18 -0
- data/test/unit/vagrant/registry_test.rb +59 -5
- data/test/unit/vagrant/util/scoped_hash_override_test.rb +48 -0
- data/test/unit/vagrant/util/ssh_test.rb +30 -0
- data/test/unit/vagrant/util/string_block_editor_test.rb +98 -0
- data/test/unit/vagrant/util/which_test.rb +43 -0
- data/test/unit/vagrant_test.rb +42 -13
- data/vagrant.gemspec +6 -7
- data/vagrant.gemspecbak +6 -7
- metadata +273 -358
- data/lib/vagrant/action/box/destroy.rb +0 -25
- data/lib/vagrant/action/box/download.rb +0 -84
- data/lib/vagrant/action/box/package.rb +0 -19
- data/lib/vagrant/action/box/unpackage.rb +0 -61
- data/lib/vagrant/action/box/verify.rb +0 -23
- data/lib/vagrant/action/builtin.rb +0 -171
- data/lib/vagrant/action/env/set.rb +0 -21
- data/lib/vagrant/action/environment.rb +0 -12
- data/lib/vagrant/action/general/check_virtualbox.rb +0 -28
- data/lib/vagrant/action/general/validate.rb +0 -18
- data/lib/vagrant/action/vm/check_box.rb +0 -33
- data/lib/vagrant/action/vm/check_port_collisions.rb +0 -89
- data/lib/vagrant/action/vm/default_name.rb +0 -22
- data/lib/vagrant/action/vm/destroy_unused_network_interfaces.rb +0 -20
- data/lib/vagrant/action/vm/discard_state.rb +0 -22
- data/lib/vagrant/action/vm/halt.rb +0 -32
- data/lib/vagrant/action/vm/host_name.rb +0 -21
- data/lib/vagrant/action/vm/network.rb +0 -403
- data/lib/vagrant/action/vm/nfs.rb +0 -196
- data/lib/vagrant/action/vm/provision.rb +0 -61
- data/lib/vagrant/action/vm/provisioner_cleanup.rb +0 -26
- data/lib/vagrant/action/vm/resume.rb +0 -20
- data/lib/vagrant/command.rb +0 -24
- data/lib/vagrant/command/base.rb +0 -167
- data/lib/vagrant/command/box.rb +0 -58
- data/lib/vagrant/command/box_add.rb +0 -37
- data/lib/vagrant/command/box_list.rb +0 -28
- data/lib/vagrant/command/box_remove.rb +0 -27
- data/lib/vagrant/command/box_repackage.rb +0 -27
- data/lib/vagrant/command/destroy.rb +0 -64
- data/lib/vagrant/command/gem.rb +0 -39
- data/lib/vagrant/command/halt.rb +0 -39
- data/lib/vagrant/command/package.rb +0 -75
- data/lib/vagrant/command/provision.rb +0 -40
- data/lib/vagrant/command/reload.rb +0 -39
- data/lib/vagrant/command/resume.rb +0 -33
- data/lib/vagrant/command/status.rb +0 -36
- data/lib/vagrant/command/suspend.rb +0 -33
- data/lib/vagrant/command/up.rb +0 -40
- data/lib/vagrant/communication.rb +0 -7
- data/lib/vagrant/communication/base.rb +0 -56
- data/lib/vagrant/config/base.rb +0 -82
- data/lib/vagrant/config/error_recorder.rb +0 -19
- data/lib/vagrant/config/nfs.rb +0 -8
- data/lib/vagrant/config/package.rb +0 -7
- data/lib/vagrant/config/ssh.rb +0 -27
- data/lib/vagrant/config/top.rb +0 -72
- data/lib/vagrant/config/vagrant.rb +0 -14
- data/lib/vagrant/config/vm.rb +0 -168
- data/lib/vagrant/config/vm/provisioner.rb +0 -52
- data/lib/vagrant/config/vm/sub_vm.rb +0 -17
- data/lib/vagrant/data_store.rb +0 -92
- data/lib/vagrant/driver.rb +0 -8
- data/lib/vagrant/driver/virtualbox.rb +0 -134
- data/lib/vagrant/driver/virtualbox_4_0.rb +0 -459
- data/lib/vagrant/driver/virtualbox_4_1.rb +0 -459
- data/lib/vagrant/driver/virtualbox_4_2.rb +0 -606
- data/lib/vagrant/driver/virtualbox_base.rb +0 -326
- data/lib/vagrant/guest.rb +0 -18
- data/lib/vagrant/guest/arch.rb +0 -56
- data/lib/vagrant/guest/base.rb +0 -99
- data/lib/vagrant/guest/freebsd.rb +0 -86
- data/lib/vagrant/guest/gentoo.rb +0 -46
- data/lib/vagrant/guest/linux/config.rb +0 -19
- data/lib/vagrant/guest/linux/error.rb +0 -9
- data/lib/vagrant/guest/openbsd.rb +0 -20
- data/lib/vagrant/guest/solaris.rb +0 -118
- data/lib/vagrant/guest/suse.rb +0 -17
- data/lib/vagrant/guest/ubuntu.rb +0 -23
- data/lib/vagrant/hosts/base.rb +0 -66
- data/lib/vagrant/provisioners.rb +0 -12
- data/lib/vagrant/provisioners/base.rb +0 -44
- data/lib/vagrant/provisioners/chef.rb +0 -168
- data/lib/vagrant/provisioners/chef_client.rb +0 -132
- data/lib/vagrant/provisioners/chef_solo.rb +0 -234
- data/lib/vagrant/provisioners/puppet.rb +0 -176
- data/lib/vagrant/provisioners/puppet_server.rb +0 -78
- data/lib/vagrant/provisioners/shell.rb +0 -103
- data/lib/vagrant/vm.rb +0 -195
- data/test/buildbot/README.md +0 -72
- data/test/buildbot/buildbot_config/__init__.py +0 -0
- data/test/buildbot/buildbot_config/config/__init__.py +0 -0
- data/test/buildbot/buildbot_config/config/loader.py +0 -24
- data/test/buildbot/buildbot_config/config/master.py +0 -24
- data/test/buildbot/buildbot_config/config/slave.py +0 -22
- data/test/buildbot/buildbot_config/master/__init__.py +0 -6
- data/test/buildbot/buildbot_config/master/builders.py +0 -78
- data/test/buildbot/buildbot_config/master/buildsteps.py +0 -100
- data/test/buildbot/buildbot_config/master/change_sources.py +0 -8
- data/test/buildbot/buildbot_config/master/schedulers.py +0 -32
- data/test/buildbot/buildbot_config/master/slaves.py +0 -60
- data/test/buildbot/buildbot_config/master/status.py +0 -52
- data/test/buildbot/master/Makefile.sample +0 -28
- data/test/buildbot/master/buildbot.tac +0 -36
- data/test/buildbot/master/master.cfg +0 -67
- data/test/buildbot/master/public_html/bg_gradient.jpg +0 -0
- data/test/buildbot/master/public_html/default.css +0 -545
- data/test/buildbot/master/public_html/favicon.ico +0 -0
- data/test/buildbot/master/public_html/robots.txt +0 -10
- data/test/buildbot/master/public_html/static/css/bootstrap-1.4.0.min.css +0 -356
- data/test/buildbot/master/public_html/static/css/prettify.css +0 -97
- data/test/buildbot/master/public_html/static/css/syntax.css +0 -60
- data/test/buildbot/master/public_html/static/css/vagrant.base.css +0 -205
- data/test/buildbot/master/public_html/static/images/base_box_mac.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/getting-started/success.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/icons/error.png +0 -0
- data/test/buildbot/master/public_html/static/images/vagrant_chilling.png +0 -0
- data/test/buildbot/master/public_html/static/images/vagrant_holding.png +0 -0
- data/test/buildbot/master/public_html/static/images/vagrant_looking.png +0 -0
- data/test/buildbot/master/public_html/static/images/windows/alter_path.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/windows/edit_path.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/windows/environment_variables_button.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/windows/port_and_ppk_path.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/windows/ppk_selection.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/windows/putty_first_screen.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/windows/save_result.jpg +0 -0
- data/test/buildbot/master/public_html/static/images/windows/vbox_manage_default_location.jpg +0 -0
- data/test/buildbot/master/public_html/static/js/bootstrap-tabs.js +0 -80
- data/test/buildbot/master/public_html/static/js/jquery-1.7.min.js +0 -4
- data/test/buildbot/master/templates/authfail.html +0 -9
- data/test/buildbot/master/templates/build.html +0 -205
- data/test/buildbot/master/templates/builder.html +0 -118
- data/test/buildbot/master/templates/builders.html +0 -33
- data/test/buildbot/master/templates/buildslave.html +0 -72
- data/test/buildbot/master/templates/buildslaves.html +0 -70
- data/test/buildbot/master/templates/change.html +0 -15
- data/test/buildbot/master/templates/layouts/base.html +0 -58
- data/test/buildbot/master/templates/macros/box.html +0 -37
- data/test/buildbot/master/templates/macros/build_line.html +0 -50
- data/test/buildbot/master/templates/macros/change.html +0 -81
- data/test/buildbot/master/templates/macros/forms.html +0 -300
- data/test/buildbot/master/templates/root.html +0 -42
- data/test/buildbot/master/templates/waterfall.html +0 -53
- data/test/buildbot/requirements.txt +0 -4
- data/test/buildbot/scripts/deploy.sh +0 -38
- data/test/buildbot/scripts/setup.sh +0 -107
- data/test/buildbot/slave/buildbot.tac +0 -43
- data/test/buildbot/slave/info/admin +0 -1
- data/test/buildbot/slave/info/host +0 -1
- data/test/buildbot/tests/__init__.py +0 -0
- data/test/buildbot/tests/master/__init__.py +0 -0
- data/test/buildbot/tests/master/test_slaves.py +0 -41
- data/test/buildbot/vendor/choices-0.4.0.tar.gz +0 -0
- data/test/unit/vagrant/action/environment_test.rb +0 -16
- data/test/unit/vagrant/config/base_test.rb +0 -48
- data/test/unit/vagrant/config/ssh_test.rb +0 -17
- data/test/unit/vagrant/config/top_test.rb +0 -69
- data/test/unit/vagrant/config/vm_test.rb +0 -71
- data/test/unit/vagrant/data_store_test.rb +0 -79
- data/test/unit_legacy/locales/en.yml +0 -8
- data/test/unit_legacy/test_helper.rb +0 -32
- data/test/unit_legacy/vagrant/action/box/destroy_test.rb +0 -18
- data/test/unit_legacy/vagrant/action/box/download_test.rb +0 -125
- data/test/unit_legacy/vagrant/action/box/package_test.rb +0 -25
- data/test/unit_legacy/vagrant/action/box/unpackage_test.rb +0 -84
- data/test/unit_legacy/vagrant/action/box/verify_test.rb +0 -30
- data/test/unit_legacy/vagrant/action/env/set_test.rb +0 -24
- data/test/unit_legacy/vagrant/action/general/package_test.rb +0 -268
- data/test/unit_legacy/vagrant/action/general/validate_test.rb +0 -31
- data/test/unit_legacy/vagrant/action/vm/boot_test.rb +0 -66
- data/test/unit_legacy/vagrant/action/vm/check_accessible_test.rb +0 -61
- data/test/unit_legacy/vagrant/action/vm/check_box_test.rb +0 -61
- data/test/unit_legacy/vagrant/action/vm/check_guest_additions_test.rb +0 -9
- data/test/unit_legacy/vagrant/action/vm/clean_machine_folder_test.rb +0 -84
- data/test/unit_legacy/vagrant/action/vm/clear_forwarded_ports_test.rb +0 -52
- data/test/unit_legacy/vagrant/action/vm/clear_nfs_exports_test.rb +0 -22
- data/test/unit_legacy/vagrant/action/vm/clear_shared_folders_test.rb +0 -40
- data/test/unit_legacy/vagrant/action/vm/customize_test.rb +0 -37
- data/test/unit_legacy/vagrant/action/vm/destroy_test.rb +0 -25
- data/test/unit_legacy/vagrant/action/vm/destroy_unused_network_interfaces_test.rb +0 -49
- data/test/unit_legacy/vagrant/action/vm/discard_state_test.rb +0 -45
- data/test/unit_legacy/vagrant/action/vm/export_test.rb +0 -107
- data/test/unit_legacy/vagrant/action/vm/forward_ports_helpers_test.rb +0 -77
- data/test/unit_legacy/vagrant/action/vm/forward_ports_test.rb +0 -197
- data/test/unit_legacy/vagrant/action/vm/halt_test.rb +0 -79
- data/test/unit_legacy/vagrant/action/vm/host_name_test.rb +0 -36
- data/test/unit_legacy/vagrant/action/vm/import_test.rb +0 -66
- data/test/unit_legacy/vagrant/action/vm/match_mac_address_test.rb +0 -40
- data/test/unit_legacy/vagrant/action/vm/modify_test.rb +0 -38
- data/test/unit_legacy/vagrant/action/vm/network_test.rb +0 -286
- data/test/unit_legacy/vagrant/action/vm/nfs_helpers_test.rb +0 -26
- data/test/unit_legacy/vagrant/action/vm/nfs_test.rb +0 -260
- data/test/unit_legacy/vagrant/action/vm/package_test.rb +0 -25
- data/test/unit_legacy/vagrant/action/vm/package_vagrantfile_test.rb +0 -46
- data/test/unit_legacy/vagrant/action/vm/provision_test.rb +0 -65
- data/test/unit_legacy/vagrant/action/vm/provisioner_cleanup_test.rb +0 -56
- data/test/unit_legacy/vagrant/action/vm/resume_test.rb +0 -35
- data/test/unit_legacy/vagrant/action/vm/share_folders_test.rb +0 -144
- data/test/unit_legacy/vagrant/action/vm/suspend_test.rb +0 -35
- data/test/unit_legacy/vagrant/action_test.rb +0 -89
- data/test/unit_legacy/vagrant/box_collection_test.rb +0 -45
- data/test/unit_legacy/vagrant/box_test.rb +0 -74
- data/test/unit_legacy/vagrant/cli_test.rb +0 -35
- data/test/unit_legacy/vagrant/command/base_test.rb +0 -23
- data/test/unit_legacy/vagrant/command/group_base_test.rb +0 -15
- data/test/unit_legacy/vagrant/command/helpers_test.rb +0 -88
- data/test/unit_legacy/vagrant/command/init_test.rb +0 -10
- data/test/unit_legacy/vagrant/command/package_test.rb +0 -27
- data/test/unit_legacy/vagrant/config/base_test.rb +0 -52
- data/test/unit_legacy/vagrant/config/error_recorder_test.rb +0 -18
- data/test/unit_legacy/vagrant/config/ssh_test.rb +0 -12
- data/test/unit_legacy/vagrant/config/vagrant_test.rb +0 -35
- data/test/unit_legacy/vagrant/config/vm/provisioner_test.rb +0 -92
- data/test/unit_legacy/vagrant/config/vm_test.rb +0 -47
- data/test/unit_legacy/vagrant/config_test.rb +0 -148
- data/test/unit_legacy/vagrant/downloaders/http_test.rb +0 -93
- data/test/unit_legacy/vagrant/environment_test.rb +0 -539
- data/test/unit_legacy/vagrant/errors_test.rb +0 -42
- data/test/unit_legacy/vagrant/hosts/base_test.rb +0 -46
- data/test/unit_legacy/vagrant/hosts/bsd_test.rb +0 -53
- data/test/unit_legacy/vagrant/hosts/linux_test.rb +0 -54
- data/test/unit_legacy/vagrant/plugin_test.rb +0 -9
- data/test/unit_legacy/vagrant/provisioners/base_test.rb +0 -63
- data/test/unit_legacy/vagrant/provisioners/chef_client_test.rb +0 -190
- data/test/unit_legacy/vagrant/provisioners/chef_solo_test.rb +0 -115
- data/test/unit_legacy/vagrant/provisioners/chef_test.rb +0 -209
- data/test/unit_legacy/vagrant/provisioners/puppet_server_test.rb +0 -68
- data/test/unit_legacy/vagrant/provisioners/puppet_test.rb +0 -182
- data/test/unit_legacy/vagrant/provisioners/shell_test.rb +0 -79
- data/test/unit_legacy/vagrant/ssh/session_test.rb +0 -40
- data/test/unit_legacy/vagrant/ssh_test.rb +0 -304
- data/test/unit_legacy/vagrant/systems/base_test.rb +0 -18
- data/test/unit_legacy/vagrant/systems/linux_test.rb +0 -104
- data/test/unit_legacy/vagrant/util/busy_test.rb +0 -106
- data/test/unit_legacy/vagrant/util/counter_test.rb +0 -29
- data/test/unit_legacy/vagrant/util/platform_test.rb +0 -18
- data/test/unit_legacy/vagrant/util/stacked_proc_runner_test.rb +0 -43
- data/test/unit_legacy/vagrant/util/template_renderer_test.rb +0 -145
- data/test/unit_legacy/vagrant/vm_test.rb +0 -300
- data/vagrant-1.1.4.gem +0 -0
- data/vagrantup-0.1.0.gem +0 -0
- data/vagrantup-0.1.1.gem +0 -0
- data/vagrantup-0.1.2.gem +0 -0
- data/vagrantup-0.1.3.gem +0 -0
- data/vagrantup-0.1.4.gem +0 -0
- data/vagrantup-0.2.0.gem +0 -0
- data/vagrantup-0.3.0.gem +0 -0
- data/vagrantup-0.3.1.gem +0 -0
- data/vagrantup-0.3.2.gem +0 -0
- data/vagrantup-0.3.3.gem +0 -0
- data/vagrantup-0.3.4.gem +0 -0
- data/vagrantup-0.4.0.gem +0 -0
- data/vagrantup-0.4.1.gem +0 -0
- data/vagrantup-0.4.3.dev.gem +0 -0
- data/vagrantup-0.5.0.gem +0 -0
- data/vagrantup-0.5.1.gem +0 -0
- data/vagrantup-0.5.2.gem +0 -0
- data/vagrantup-0.5.3.gem +0 -0
- data/vagrantup-0.5.4.gem +0 -0
- data/vagrantup-0.6.0.gem +0 -0
- data/vagrantup-0.6.1.gem +0 -0
- data/vagrantup-0.6.2.gem +0 -0
- data/vagrantup-0.6.3.gem +0 -0
- data/vagrantup-0.6.4.gem +0 -0
- data/vagrantup-0.6.5.gem +0 -0
- data/vagrantup-0.6.6.gem +0 -0
- data/vagrantup-0.6.7.gem +0 -0
- data/vagrantup-0.6.8.gem +0 -0
- data/vagrantup-0.6.9.gem +0 -0
- data/vagrantup-0.7.0.gem +0 -0
- data/vagrantup-0.7.1.gem +0 -0
- data/vagrantup-0.7.2.gem +0 -0
- data/vagrantup-0.7.3.gem +0 -0
- data/vagrantup-0.7.4.gem +0 -0
- data/vagrantup-0.7.5.gem +0 -0
- data/vagrantup-0.7.6.gem +0 -0
- data/vagrantup-0.7.7.gem +0 -0
- data/vagrantup-0.7.8.gem +0 -0
- data/vagrantup-0.8.0.gem +0 -0
- data/vagrantup-0.8.1.gem +0 -0
- data/vagrantup-0.8.10.gem +0 -0
- data/vagrantup-0.8.2.gem +0 -0
- data/vagrantup-0.8.3.gem +0 -0
- data/vagrantup-0.8.4.gem +0 -0
- data/vagrantup-0.8.5.gem +0 -0
- data/vagrantup-0.8.6.gem +0 -0
- data/vagrantup-0.8.7.gem +0 -0
- data/vagrantup-0.8.8.gem +0 -0
- data/vagrantup-0.8.9.gem +0 -0
- data/vagrantup-0.9.0.gem +0 -0
- data/vagrantup-0.9.1.gem +0 -0
- data/vagrantup-0.9.2.gem +0 -0
- data/vagrantup-0.9.3.gem +0 -0
- data/vagrantup-0.9.4.gem +0 -0
- data/vagrantup-0.9.5.gem +0 -0
- data/vagrantup-0.9.6.gem +0 -0
- data/vagrantup-0.9.7.gem +0 -0
- data/vagrantup-0.9.99.1.gem +0 -0
- data/vagrantup-0.9.99.2.gem +0 -0
- data/vagrantup-1.0.0.gem +0 -0
- data/vagrantup-1.0.1.gem +0 -0
- data/vagrantup-1.0.2.gem +0 -0
- data/vagrantup-1.0.3.gem +0 -0
- data/vagrantup-1.0.4.gem +0 -0
- data/vagrantup-1.0.5.gem +0 -0
- data/vagrantup-1.0.6.gem +0 -0
- data/vagrantup-1.1.4.gem +0 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
require File.expand_path("../../../base", __FILE__)
|
2
|
+
|
3
|
+
require "vagrant/util/platform"
|
4
|
+
require "vagrant/util/ssh"
|
5
|
+
|
6
|
+
describe Vagrant::Util::SSH do
|
7
|
+
include_context "unit"
|
8
|
+
|
9
|
+
describe "checking key permissions" do
|
10
|
+
let(:key_path) { temporary_file }
|
11
|
+
|
12
|
+
it "should do nothing on Windows" do
|
13
|
+
Vagrant::Util::Platform.stub(:windows?).and_return(true)
|
14
|
+
|
15
|
+
key_path.chmod(0700)
|
16
|
+
|
17
|
+
# Get the mode now and verify that it is untouched afterwards
|
18
|
+
mode = key_path.stat.mode
|
19
|
+
described_class.check_key_permissions(key_path)
|
20
|
+
key_path.stat.mode.should == mode
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should fix the permissions" do
|
24
|
+
key_path.chmod(0644)
|
25
|
+
|
26
|
+
described_class.check_key_permissions(key_path)
|
27
|
+
key_path.stat.mode.should == 0100600
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
require File.expand_path("../../../base", __FILE__)
|
2
|
+
|
3
|
+
require "vagrant/util/string_block_editor"
|
4
|
+
|
5
|
+
describe Vagrant::Util::StringBlockEditor do
|
6
|
+
describe "#keys" do
|
7
|
+
it "should return all the keys" do
|
8
|
+
data = <<DATA
|
9
|
+
# VAGRANT-BEGIN: foo
|
10
|
+
value
|
11
|
+
# VAGRANT-END: foo
|
12
|
+
another
|
13
|
+
# VAGRANT-BEGIN: bar
|
14
|
+
content
|
15
|
+
# VAGRANT-END: bar
|
16
|
+
DATA
|
17
|
+
|
18
|
+
described_class.new(data).keys.should == ["foo", "bar"]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
describe "#delete" do
|
23
|
+
it "should delete nothing if the key doesn't exist" do
|
24
|
+
data = "foo"
|
25
|
+
|
26
|
+
instance = described_class.new(data)
|
27
|
+
instance.delete("key")
|
28
|
+
instance.value.should == data
|
29
|
+
end
|
30
|
+
|
31
|
+
it "should delete the matching blocks if they exist" do
|
32
|
+
data = <<DATA
|
33
|
+
# VAGRANT-BEGIN: foo
|
34
|
+
value
|
35
|
+
# VAGRANT-END: foo
|
36
|
+
# VAGRANT-BEGIN: foo
|
37
|
+
another
|
38
|
+
# VAGRANT-END: foo
|
39
|
+
another
|
40
|
+
# VAGRANT-BEGIN: bar
|
41
|
+
content
|
42
|
+
# VAGRANT-END: bar
|
43
|
+
DATA
|
44
|
+
|
45
|
+
new_data = <<DATA
|
46
|
+
another
|
47
|
+
# VAGRANT-BEGIN: bar
|
48
|
+
content
|
49
|
+
# VAGRANT-END: bar
|
50
|
+
DATA
|
51
|
+
|
52
|
+
instance = described_class.new(data)
|
53
|
+
instance.delete("foo")
|
54
|
+
instance.value.should == new_data
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe "#get" do
|
59
|
+
let(:data) do
|
60
|
+
<<DATA
|
61
|
+
# VAGRANT-BEGIN: bar
|
62
|
+
content
|
63
|
+
# VAGRANT-END: bar
|
64
|
+
DATA
|
65
|
+
end
|
66
|
+
|
67
|
+
it "should get the value" do
|
68
|
+
instance = described_class.new(data)
|
69
|
+
instance.get("bar").should == "content"
|
70
|
+
end
|
71
|
+
|
72
|
+
it "should get nil for nonexistent values" do
|
73
|
+
instance = described_class.new(data)
|
74
|
+
instance.get("baz").should be_nil
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe "#insert" do
|
79
|
+
it "should insert the given key and value" do
|
80
|
+
data = <<DATA
|
81
|
+
# VAGRANT-BEGIN: bar
|
82
|
+
content
|
83
|
+
# VAGRANT-END: bar
|
84
|
+
DATA
|
85
|
+
|
86
|
+
new_data = <<DATA
|
87
|
+
#{data.chomp}
|
88
|
+
# VAGRANT-BEGIN: foo
|
89
|
+
value
|
90
|
+
# VAGRANT-END: foo
|
91
|
+
DATA
|
92
|
+
|
93
|
+
instance = described_class.new(data)
|
94
|
+
instance.insert("foo", "value")
|
95
|
+
instance.value.should == new_data
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require File.expand_path("../../../base", __FILE__)
|
2
|
+
|
3
|
+
require 'vagrant/util/platform'
|
4
|
+
require 'vagrant/util/which'
|
5
|
+
|
6
|
+
describe Vagrant::Util::Which do
|
7
|
+
def tester (file_extension, test_extension, mode, &block)
|
8
|
+
# create file in temp directory
|
9
|
+
filename = '__vagrant_unit_test__'
|
10
|
+
dir = Dir.tmpdir
|
11
|
+
file = Pathname(dir) + (filename + file_extension)
|
12
|
+
file.open("w") { |f| f.write("#") }
|
13
|
+
file.chmod(mode)
|
14
|
+
|
15
|
+
# set the path to the directory where the file is located
|
16
|
+
savepath = ENV['PATH']
|
17
|
+
ENV['PATH'] = dir.to_s
|
18
|
+
block.call filename + test_extension
|
19
|
+
ENV['PATH'] = savepath
|
20
|
+
|
21
|
+
file.unlink
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should return a path for an executable file" do
|
25
|
+
tester '.bat', '.bat', 0755 do |name|
|
26
|
+
described_class.which(name).should_not be_nil
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
if Vagrant::Util::Platform.windows?
|
31
|
+
it "should return a path for a Windows executable file" do
|
32
|
+
tester '.bat', '', 0755 do |name|
|
33
|
+
described_class.which(name).should_not be_nil
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
it "should return nil for a non-executable file" do
|
39
|
+
tester '.txt', '.txt', 0644 do |name|
|
40
|
+
described_class.which(name).should be_nil
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
data/test/unit/vagrant_test.rb
CHANGED
@@ -1,27 +1,56 @@
|
|
1
1
|
require File.expand_path("../base", __FILE__)
|
2
2
|
|
3
3
|
describe Vagrant do
|
4
|
+
include_context "unit"
|
5
|
+
|
4
6
|
it "has the path to the source root" do
|
5
7
|
described_class.source_root.should == Pathname.new(File.expand_path("../../../", __FILE__))
|
6
8
|
end
|
7
9
|
|
8
|
-
|
9
|
-
|
10
|
-
|
10
|
+
describe "plugin superclass" do
|
11
|
+
describe "v1" do
|
12
|
+
it "returns the proper class for version 1" do
|
13
|
+
described_class.plugin("1").should == Vagrant::Plugin::V1::Plugin
|
14
|
+
end
|
11
15
|
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
it "returns the proper components for version 1" do
|
17
|
+
described_class.plugin("1", :command).should == Vagrant::Plugin::V1::Command
|
18
|
+
described_class.plugin("1", :communicator).should == Vagrant::Plugin::V1::Communicator
|
19
|
+
described_class.plugin("1", :config).should == Vagrant::Plugin::V1::Config
|
20
|
+
described_class.plugin("1", :guest).should == Vagrant::Plugin::V1::Guest
|
21
|
+
described_class.plugin("1", :host).should == Vagrant::Plugin::V1::Host
|
22
|
+
described_class.plugin("1", :provider).should == Vagrant::Plugin::V1::Provider
|
23
|
+
described_class.plugin("1", :provisioner).should == Vagrant::Plugin::V1::Provisioner
|
24
|
+
end
|
25
|
+
end
|
15
26
|
|
16
|
-
|
17
|
-
|
27
|
+
it "raises an exception if an unsupported version is given" do
|
28
|
+
expect { described_class.plugin("88") }.
|
29
|
+
to raise_error(ArgumentError)
|
30
|
+
end
|
18
31
|
end
|
19
32
|
|
20
|
-
|
21
|
-
|
22
|
-
|
33
|
+
describe "requiring plugins" do
|
34
|
+
it "should require the plugin given" do
|
35
|
+
# For now, just require a stdlib
|
36
|
+
expect { described_class.require_plugin "set" }.
|
37
|
+
to_not raise_error
|
38
|
+
end
|
39
|
+
|
40
|
+
it "should raise an error if the file doesn't exist" do
|
41
|
+
expect { described_class.require_plugin("i_dont_exist") }.
|
42
|
+
to raise_error(Vagrant::Errors::PluginLoadError)
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should raise an error if the loading failed in some other way" do
|
46
|
+
plugin_dir = temporary_dir
|
47
|
+
plugin_path = plugin_dir.join("test.rb")
|
48
|
+
plugin_path.open("w") do |f|
|
49
|
+
f.write(%Q[require 'I_dont_exist'])
|
50
|
+
end
|
23
51
|
|
24
|
-
|
25
|
-
|
52
|
+
expect { described_class.require_plugin(plugin_path.to_s) }.
|
53
|
+
to raise_error(Vagrant::Errors::PluginLoadFailed)
|
54
|
+
end
|
26
55
|
end
|
27
56
|
end
|
data/vagrant.gemspec
CHANGED
@@ -14,8 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.required_rubygems_version = ">= 1.3.6"
|
15
15
|
s.rubyforge_project = "vagrant"
|
16
16
|
|
17
|
-
s.add_dependency "
|
18
|
-
s.add_dependency "childprocess", "~> 0.3.1"
|
17
|
+
s.add_dependency "childprocess", "~> 0.3.7"
|
19
18
|
s.add_dependency "erubis", "~> 2.7.0"
|
20
19
|
s.add_dependency "i18n", "~> 0.6.0"
|
21
20
|
s.add_dependency "json", ">= 1.5.1", "< 1.8.0"
|
@@ -27,10 +26,11 @@ Gem::Specification.new do |s|
|
|
27
26
|
s.add_development_dependency "contest", ">= 0.1.2"
|
28
27
|
s.add_development_dependency "minitest", "~> 2.5.1"
|
29
28
|
s.add_development_dependency "mocha"
|
30
|
-
#
|
31
|
-
s.add_development_dependency "
|
32
|
-
s.add_development_dependency "rspec-
|
33
|
-
s.add_development_dependency "rspec-
|
29
|
+
# This has problems on Windows, we need to find a better way:
|
30
|
+
# s.add_development_dependency "sys-proctable", "~> 0.9.0"
|
31
|
+
s.add_development_dependency "rspec-core", "~> 2.11.0"
|
32
|
+
s.add_development_dependency "rspec-expectations", "~> 2.11.0"
|
33
|
+
s.add_development_dependency "rspec-mocks", "~> 2.11.0"
|
34
34
|
|
35
35
|
# The following block of code determines the files that should be included
|
36
36
|
# in the gem. It does this by reading all the files in the directory where
|
@@ -67,4 +67,3 @@ Gem::Specification.new do |s|
|
|
67
67
|
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
|
68
68
|
s.require_path = 'lib'
|
69
69
|
end
|
70
|
-
|
data/vagrant.gemspecbak
CHANGED
@@ -14,8 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.required_rubygems_version = ">= 1.3.6"
|
15
15
|
s.rubyforge_project = "vagrant"
|
16
16
|
|
17
|
-
s.add_dependency "
|
18
|
-
s.add_dependency "childprocess", "~> 0.3.1"
|
17
|
+
s.add_dependency "childprocess", "~> 0.3.7"
|
19
18
|
s.add_dependency "erubis", "~> 2.7.0"
|
20
19
|
s.add_dependency "i18n", "~> 0.6.0"
|
21
20
|
s.add_dependency "json", ">= 1.5.1", "< 1.8.0"
|
@@ -27,10 +26,11 @@ Gem::Specification.new do |s|
|
|
27
26
|
s.add_development_dependency "contest", ">= 0.1.2"
|
28
27
|
s.add_development_dependency "minitest", "~> 2.5.1"
|
29
28
|
s.add_development_dependency "mocha"
|
30
|
-
#
|
31
|
-
s.add_development_dependency "
|
32
|
-
s.add_development_dependency "rspec-
|
33
|
-
s.add_development_dependency "rspec-
|
29
|
+
# This has problems on Windows, we need to find a better way:
|
30
|
+
# s.add_development_dependency "sys-proctable", "~> 0.9.0"
|
31
|
+
s.add_development_dependency "rspec-core", "~> 2.11.0"
|
32
|
+
s.add_development_dependency "rspec-expectations", "~> 2.11.0"
|
33
|
+
s.add_development_dependency "rspec-mocks", "~> 2.11.0"
|
34
34
|
|
35
35
|
# The following block of code determines the files that should be included
|
36
36
|
# in the gem. It does this by reading all the files in the directory where
|
@@ -67,4 +67,3 @@ Gem::Specification.new do |s|
|
|
67
67
|
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
|
68
68
|
s.require_path = 'lib'
|
69
69
|
end
|
70
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrantup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitchell Hashimoto
|
@@ -11,34 +11,20 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2013-03-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: archive-tar-minitar
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - '='
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 0.5.2
|
21
|
-
type: :runtime
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - '='
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 0.5.2
|
28
14
|
- !ruby/object:Gem::Dependency
|
29
15
|
name: childprocess
|
30
16
|
requirement: !ruby/object:Gem::Requirement
|
31
17
|
requirements:
|
32
18
|
- - ~>
|
33
19
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.3.
|
20
|
+
version: 0.3.7
|
35
21
|
type: :runtime
|
36
22
|
prerelease: false
|
37
23
|
version_requirements: !ruby/object:Gem::Requirement
|
38
24
|
requirements:
|
39
25
|
- - ~>
|
40
26
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.3.
|
27
|
+
version: 0.3.7
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: erubis
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,42 +177,42 @@ dependencies:
|
|
191
177
|
requirements:
|
192
178
|
- - ~>
|
193
179
|
- !ruby/object:Gem::Version
|
194
|
-
version: 2.
|
180
|
+
version: 2.11.0
|
195
181
|
type: :development
|
196
182
|
prerelease: false
|
197
183
|
version_requirements: !ruby/object:Gem::Requirement
|
198
184
|
requirements:
|
199
185
|
- - ~>
|
200
186
|
- !ruby/object:Gem::Version
|
201
|
-
version: 2.
|
187
|
+
version: 2.11.0
|
202
188
|
- !ruby/object:Gem::Dependency
|
203
189
|
name: rspec-expectations
|
204
190
|
requirement: !ruby/object:Gem::Requirement
|
205
191
|
requirements:
|
206
192
|
- - ~>
|
207
193
|
- !ruby/object:Gem::Version
|
208
|
-
version: 2.
|
194
|
+
version: 2.11.0
|
209
195
|
type: :development
|
210
196
|
prerelease: false
|
211
197
|
version_requirements: !ruby/object:Gem::Requirement
|
212
198
|
requirements:
|
213
199
|
- - ~>
|
214
200
|
- !ruby/object:Gem::Version
|
215
|
-
version: 2.
|
201
|
+
version: 2.11.0
|
216
202
|
- !ruby/object:Gem::Dependency
|
217
203
|
name: rspec-mocks
|
218
204
|
requirement: !ruby/object:Gem::Requirement
|
219
205
|
requirements:
|
220
206
|
- - ~>
|
221
207
|
- !ruby/object:Gem::Version
|
222
|
-
version: 2.
|
208
|
+
version: 2.11.0
|
223
209
|
type: :development
|
224
210
|
prerelease: false
|
225
211
|
version_requirements: !ruby/object:Gem::Requirement
|
226
212
|
requirements:
|
227
213
|
- - ~>
|
228
214
|
- !ruby/object:Gem::Version
|
229
|
-
version: 2.
|
215
|
+
version: 2.11.0
|
230
216
|
description: Vagrant is a tool for building and distributing virtualized development
|
231
217
|
environments.
|
232
218
|
email:
|
@@ -240,6 +226,7 @@ files:
|
|
240
226
|
- bin/vagrant
|
241
227
|
- CHANGELOG.md
|
242
228
|
- config/default.rb
|
229
|
+
- contrib/bash/completion.sh
|
243
230
|
- contrib/emacs/vagrant.el
|
244
231
|
- contrib/README.md
|
245
232
|
- contrib/vim/vagrantfile.vim
|
@@ -247,140 +234,75 @@ files:
|
|
247
234
|
- keys/README.md
|
248
235
|
- keys/vagrant
|
249
236
|
- keys/vagrant.pub
|
250
|
-
- lib/vagrant/action/box/destroy.rb
|
251
|
-
- lib/vagrant/action/box/download.rb
|
252
|
-
- lib/vagrant/action/box/package.rb
|
253
|
-
- lib/vagrant/action/box/unpackage.rb
|
254
|
-
- lib/vagrant/action/box/verify.rb
|
255
237
|
- lib/vagrant/action/builder.rb
|
256
|
-
- lib/vagrant/action/builtin.rb
|
257
|
-
- lib/vagrant/action/
|
258
|
-
- lib/vagrant/action/
|
259
|
-
- lib/vagrant/action/
|
238
|
+
- lib/vagrant/action/builtin/box_add.rb
|
239
|
+
- lib/vagrant/action/builtin/call.rb
|
240
|
+
- lib/vagrant/action/builtin/config_validate.rb
|
241
|
+
- lib/vagrant/action/builtin/confirm.rb
|
242
|
+
- lib/vagrant/action/builtin/env_set.rb
|
243
|
+
- lib/vagrant/action/builtin/graceful_halt.rb
|
244
|
+
- lib/vagrant/action/builtin/handle_box_url.rb
|
245
|
+
- lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb
|
246
|
+
- lib/vagrant/action/builtin/lock.rb
|
247
|
+
- lib/vagrant/action/builtin/nfs.rb
|
248
|
+
- lib/vagrant/action/builtin/provision.rb
|
249
|
+
- lib/vagrant/action/builtin/set_hostname.rb
|
250
|
+
- lib/vagrant/action/builtin/ssh_exec.rb
|
251
|
+
- lib/vagrant/action/builtin/ssh_run.rb
|
260
252
|
- lib/vagrant/action/general/package.rb
|
261
|
-
- lib/vagrant/action/
|
253
|
+
- lib/vagrant/action/hook.rb
|
262
254
|
- lib/vagrant/action/runner.rb
|
263
|
-
- lib/vagrant/action/vm/boot.rb
|
264
|
-
- lib/vagrant/action/vm/check_accessible.rb
|
265
|
-
- lib/vagrant/action/vm/check_box.rb
|
266
|
-
- lib/vagrant/action/vm/check_guest_additions.rb
|
267
|
-
- lib/vagrant/action/vm/check_port_collisions.rb
|
268
|
-
- lib/vagrant/action/vm/clean_machine_folder.rb
|
269
|
-
- lib/vagrant/action/vm/clear_forwarded_ports.rb
|
270
|
-
- lib/vagrant/action/vm/clear_network_interfaces.rb
|
271
|
-
- lib/vagrant/action/vm/clear_shared_folders.rb
|
272
|
-
- lib/vagrant/action/vm/customize.rb
|
273
|
-
- lib/vagrant/action/vm/default_name.rb
|
274
|
-
- lib/vagrant/action/vm/destroy.rb
|
275
|
-
- lib/vagrant/action/vm/destroy_unused_network_interfaces.rb
|
276
|
-
- lib/vagrant/action/vm/discard_state.rb
|
277
|
-
- lib/vagrant/action/vm/export.rb
|
278
|
-
- lib/vagrant/action/vm/forward_ports.rb
|
279
|
-
- lib/vagrant/action/vm/halt.rb
|
280
|
-
- lib/vagrant/action/vm/host_name.rb
|
281
|
-
- lib/vagrant/action/vm/import.rb
|
282
|
-
- lib/vagrant/action/vm/match_mac_address.rb
|
283
|
-
- lib/vagrant/action/vm/network.rb
|
284
|
-
- lib/vagrant/action/vm/nfs.rb
|
285
|
-
- lib/vagrant/action/vm/package.rb
|
286
|
-
- lib/vagrant/action/vm/package_vagrantfile.rb
|
287
|
-
- lib/vagrant/action/vm/provision.rb
|
288
|
-
- lib/vagrant/action/vm/provisioner_cleanup.rb
|
289
|
-
- lib/vagrant/action/vm/prune_nfs_exports.rb
|
290
|
-
- lib/vagrant/action/vm/resume.rb
|
291
|
-
- lib/vagrant/action/vm/sane_defaults.rb
|
292
|
-
- lib/vagrant/action/vm/setup_package_files.rb
|
293
|
-
- lib/vagrant/action/vm/share_folders.rb
|
294
|
-
- lib/vagrant/action/vm/suspend.rb
|
295
255
|
- lib/vagrant/action/warden.rb
|
296
256
|
- lib/vagrant/action.rb
|
297
257
|
- lib/vagrant/box.rb
|
298
258
|
- lib/vagrant/box_collection.rb
|
299
259
|
- lib/vagrant/cli.rb
|
300
|
-
- lib/vagrant/command/base.rb
|
301
|
-
- lib/vagrant/command/box.rb
|
302
|
-
- lib/vagrant/command/box_add.rb
|
303
|
-
- lib/vagrant/command/box_list.rb
|
304
|
-
- lib/vagrant/command/box_remove.rb
|
305
|
-
- lib/vagrant/command/box_repackage.rb
|
306
|
-
- lib/vagrant/command/destroy.rb
|
307
|
-
- lib/vagrant/command/gem.rb
|
308
|
-
- lib/vagrant/command/halt.rb
|
309
|
-
- lib/vagrant/command/init.rb
|
310
|
-
- lib/vagrant/command/package.rb
|
311
|
-
- lib/vagrant/command/provision.rb
|
312
|
-
- lib/vagrant/command/reload.rb
|
313
|
-
- lib/vagrant/command/resume.rb
|
314
|
-
- lib/vagrant/command/ssh.rb
|
315
|
-
- lib/vagrant/command/ssh_config.rb
|
316
|
-
- lib/vagrant/command/start_mixins.rb
|
317
|
-
- lib/vagrant/command/status.rb
|
318
|
-
- lib/vagrant/command/suspend.rb
|
319
|
-
- lib/vagrant/command/up.rb
|
320
|
-
- lib/vagrant/command.rb
|
321
|
-
- lib/vagrant/communication/base.rb
|
322
|
-
- lib/vagrant/communication/ssh.rb
|
323
|
-
- lib/vagrant/communication.rb
|
324
|
-
- lib/vagrant/config/base.rb
|
325
260
|
- lib/vagrant/config/container.rb
|
326
|
-
- lib/vagrant/config/error_recorder.rb
|
327
261
|
- lib/vagrant/config/loader.rb
|
328
|
-
- lib/vagrant/config/
|
329
|
-
- lib/vagrant/config/
|
330
|
-
- lib/vagrant/config/
|
331
|
-
- lib/vagrant/config/
|
332
|
-
- lib/vagrant/config/
|
333
|
-
- lib/vagrant/config/
|
334
|
-
- lib/vagrant/config/
|
335
|
-
- lib/vagrant/config/
|
262
|
+
- lib/vagrant/config/v1/dummy_config.rb
|
263
|
+
- lib/vagrant/config/v1/loader.rb
|
264
|
+
- lib/vagrant/config/v1/root.rb
|
265
|
+
- lib/vagrant/config/v1.rb
|
266
|
+
- lib/vagrant/config/v2/dummy_config.rb
|
267
|
+
- lib/vagrant/config/v2/loader.rb
|
268
|
+
- lib/vagrant/config/v2/root.rb
|
269
|
+
- lib/vagrant/config/v2/util.rb
|
270
|
+
- lib/vagrant/config/v2.rb
|
271
|
+
- lib/vagrant/config/version_base.rb
|
336
272
|
- lib/vagrant/config.rb
|
337
|
-
- lib/vagrant/data_store.rb
|
338
273
|
- lib/vagrant/downloaders/base.rb
|
339
274
|
- lib/vagrant/downloaders/file.rb
|
340
275
|
- lib/vagrant/downloaders/http.rb
|
341
276
|
- lib/vagrant/downloaders.rb
|
342
|
-
- lib/vagrant/driver/virtualbox.rb
|
343
|
-
- lib/vagrant/driver/virtualbox_4_0.rb
|
344
|
-
- lib/vagrant/driver/virtualbox_4_1.rb
|
345
|
-
- lib/vagrant/driver/virtualbox_4_2.rb
|
346
|
-
- lib/vagrant/driver/virtualbox_base.rb
|
347
|
-
- lib/vagrant/driver.rb
|
348
277
|
- lib/vagrant/environment.rb
|
349
278
|
- lib/vagrant/errors.rb
|
350
|
-
- lib/vagrant/guest/arch.rb
|
351
|
-
- lib/vagrant/guest/base.rb
|
352
|
-
- lib/vagrant/guest/debian.rb
|
353
|
-
- lib/vagrant/guest/fedora.rb
|
354
|
-
- lib/vagrant/guest/freebsd.rb
|
355
|
-
- lib/vagrant/guest/gentoo.rb
|
356
|
-
- lib/vagrant/guest/linux/config.rb
|
357
|
-
- lib/vagrant/guest/linux/error.rb
|
358
|
-
- lib/vagrant/guest/linux.rb
|
359
|
-
- lib/vagrant/guest/openbsd.rb
|
360
|
-
- lib/vagrant/guest/redhat.rb
|
361
|
-
- lib/vagrant/guest/solaris.rb
|
362
|
-
- lib/vagrant/guest/suse.rb
|
363
|
-
- lib/vagrant/guest/ubuntu.rb
|
364
|
-
- lib/vagrant/guest.rb
|
365
|
-
- lib/vagrant/hosts/arch.rb
|
366
|
-
- lib/vagrant/hosts/base.rb
|
367
|
-
- lib/vagrant/hosts/bsd.rb
|
368
|
-
- lib/vagrant/hosts/fedora.rb
|
369
|
-
- lib/vagrant/hosts/freebsd.rb
|
370
|
-
- lib/vagrant/hosts/gentoo.rb
|
371
|
-
- lib/vagrant/hosts/linux.rb
|
372
|
-
- lib/vagrant/hosts/opensuse.rb
|
373
|
-
- lib/vagrant/hosts/windows.rb
|
374
279
|
- lib/vagrant/hosts.rb
|
280
|
+
- lib/vagrant/machine.rb
|
281
|
+
- lib/vagrant/machine_state.rb
|
282
|
+
- lib/vagrant/plugin/v1/command.rb
|
283
|
+
- lib/vagrant/plugin/v1/communicator.rb
|
284
|
+
- lib/vagrant/plugin/v1/config.rb
|
285
|
+
- lib/vagrant/plugin/v1/errors.rb
|
286
|
+
- lib/vagrant/plugin/v1/guest.rb
|
287
|
+
- lib/vagrant/plugin/v1/host.rb
|
288
|
+
- lib/vagrant/plugin/v1/manager.rb
|
289
|
+
- lib/vagrant/plugin/v1/plugin.rb
|
290
|
+
- lib/vagrant/plugin/v1/provider.rb
|
291
|
+
- lib/vagrant/plugin/v1/provisioner.rb
|
292
|
+
- lib/vagrant/plugin/v1.rb
|
293
|
+
- lib/vagrant/plugin/v2/command.rb
|
294
|
+
- lib/vagrant/plugin/v2/communicator.rb
|
295
|
+
- lib/vagrant/plugin/v2/components.rb
|
296
|
+
- lib/vagrant/plugin/v2/config.rb
|
297
|
+
- lib/vagrant/plugin/v2/errors.rb
|
298
|
+
- lib/vagrant/plugin/v2/guest.rb
|
299
|
+
- lib/vagrant/plugin/v2/host.rb
|
300
|
+
- lib/vagrant/plugin/v2/manager.rb
|
301
|
+
- lib/vagrant/plugin/v2/plugin.rb
|
302
|
+
- lib/vagrant/plugin/v2/provider.rb
|
303
|
+
- lib/vagrant/plugin/v2/provisioner.rb
|
304
|
+
- lib/vagrant/plugin/v2.rb
|
375
305
|
- lib/vagrant/plugin.rb
|
376
|
-
- lib/vagrant/provisioners/base.rb
|
377
|
-
- lib/vagrant/provisioners/chef.rb
|
378
|
-
- lib/vagrant/provisioners/chef_client.rb
|
379
|
-
- lib/vagrant/provisioners/chef_solo.rb
|
380
|
-
- lib/vagrant/provisioners/puppet.rb
|
381
|
-
- lib/vagrant/provisioners/puppet_server.rb
|
382
|
-
- lib/vagrant/provisioners/shell.rb
|
383
|
-
- lib/vagrant/provisioners.rb
|
384
306
|
- lib/vagrant/registry.rb
|
385
307
|
- lib/vagrant/ssh.rb
|
386
308
|
- lib/vagrant/test_helpers.rb
|
@@ -398,14 +320,187 @@ files:
|
|
398
320
|
- lib/vagrant/util/retryable.rb
|
399
321
|
- lib/vagrant/util/safe_exec.rb
|
400
322
|
- lib/vagrant/util/safe_puts.rb
|
323
|
+
- lib/vagrant/util/scoped_hash_override.rb
|
324
|
+
- lib/vagrant/util/ssh.rb
|
401
325
|
- lib/vagrant/util/stacked_proc_runner.rb
|
326
|
+
- lib/vagrant/util/string_block_editor.rb
|
402
327
|
- lib/vagrant/util/subprocess.rb
|
403
328
|
- lib/vagrant/util/template_renderer.rb
|
329
|
+
- lib/vagrant/util/which.rb
|
404
330
|
- lib/vagrant/util.rb
|
405
331
|
- lib/vagrant/version.rb
|
406
|
-
- lib/vagrant/vm.rb
|
407
332
|
- lib/vagrant.rb
|
408
333
|
- LICENSE
|
334
|
+
- plugins/commands/box/command/add.rb
|
335
|
+
- plugins/commands/box/command/list.rb
|
336
|
+
- plugins/commands/box/command/remove.rb
|
337
|
+
- plugins/commands/box/command/repackage.rb
|
338
|
+
- plugins/commands/box/command/root.rb
|
339
|
+
- plugins/commands/box/plugin.rb
|
340
|
+
- plugins/commands/destroy/command.rb
|
341
|
+
- plugins/commands/destroy/plugin.rb
|
342
|
+
- plugins/commands/halt/command.rb
|
343
|
+
- plugins/commands/halt/plugin.rb
|
344
|
+
- plugins/commands/init/command.rb
|
345
|
+
- plugins/commands/init/plugin.rb
|
346
|
+
- plugins/commands/package/command.rb
|
347
|
+
- plugins/commands/package/plugin.rb
|
348
|
+
- plugins/commands/plugin/action/bundler_check.rb
|
349
|
+
- plugins/commands/plugin/action/install_gem.rb
|
350
|
+
- plugins/commands/plugin/action/license_plugin.rb
|
351
|
+
- plugins/commands/plugin/action/list_plugins.rb
|
352
|
+
- plugins/commands/plugin/action/prune_gems.rb
|
353
|
+
- plugins/commands/plugin/action/uninstall_plugin.rb
|
354
|
+
- plugins/commands/plugin/action.rb
|
355
|
+
- plugins/commands/plugin/command/base.rb
|
356
|
+
- plugins/commands/plugin/command/install.rb
|
357
|
+
- plugins/commands/plugin/command/license.rb
|
358
|
+
- plugins/commands/plugin/command/list.rb
|
359
|
+
- plugins/commands/plugin/command/root.rb
|
360
|
+
- plugins/commands/plugin/command/uninstall.rb
|
361
|
+
- plugins/commands/plugin/gem_helper.rb
|
362
|
+
- plugins/commands/plugin/plugin.rb
|
363
|
+
- plugins/commands/plugin/state_file.rb
|
364
|
+
- plugins/commands/provision/command.rb
|
365
|
+
- plugins/commands/provision/plugin.rb
|
366
|
+
- plugins/commands/reload/command.rb
|
367
|
+
- plugins/commands/reload/plugin.rb
|
368
|
+
- plugins/commands/resume/command.rb
|
369
|
+
- plugins/commands/resume/plugin.rb
|
370
|
+
- plugins/commands/ssh/command.rb
|
371
|
+
- plugins/commands/ssh/plugin.rb
|
372
|
+
- plugins/commands/ssh_config/command.rb
|
373
|
+
- plugins/commands/ssh_config/plugin.rb
|
374
|
+
- plugins/commands/status/command.rb
|
375
|
+
- plugins/commands/status/plugin.rb
|
376
|
+
- plugins/commands/suspend/command.rb
|
377
|
+
- plugins/commands/suspend/plugin.rb
|
378
|
+
- plugins/commands/up/command.rb
|
379
|
+
- plugins/commands/up/plugin.rb
|
380
|
+
- plugins/commands/up/start_mixins.rb
|
381
|
+
- plugins/communicators/ssh/communicator.rb
|
382
|
+
- plugins/communicators/ssh/plugin.rb
|
383
|
+
- plugins/guests/arch/guest.rb
|
384
|
+
- plugins/guests/arch/plugin.rb
|
385
|
+
- plugins/guests/debian/guest.rb
|
386
|
+
- plugins/guests/debian/plugin.rb
|
387
|
+
- plugins/guests/fedora/guest.rb
|
388
|
+
- plugins/guests/fedora/plugin.rb
|
389
|
+
- plugins/guests/freebsd/config.rb
|
390
|
+
- plugins/guests/freebsd/guest.rb
|
391
|
+
- plugins/guests/freebsd/plugin.rb
|
392
|
+
- plugins/guests/gentoo/guest.rb
|
393
|
+
- plugins/guests/gentoo/plugin.rb
|
394
|
+
- plugins/guests/linux/config.rb
|
395
|
+
- plugins/guests/linux/guest.rb
|
396
|
+
- plugins/guests/linux/plugin.rb
|
397
|
+
- plugins/guests/openbsd/guest.rb
|
398
|
+
- plugins/guests/openbsd/plugin.rb
|
399
|
+
- plugins/guests/redhat/guest.rb
|
400
|
+
- plugins/guests/redhat/plugin.rb
|
401
|
+
- plugins/guests/solaris/config.rb
|
402
|
+
- plugins/guests/solaris/guest.rb
|
403
|
+
- plugins/guests/solaris/plugin.rb
|
404
|
+
- plugins/guests/suse/guest.rb
|
405
|
+
- plugins/guests/suse/plugin.rb
|
406
|
+
- plugins/guests/ubuntu/guest.rb
|
407
|
+
- plugins/guests/ubuntu/plugin.rb
|
408
|
+
- plugins/hosts/arch/host.rb
|
409
|
+
- plugins/hosts/arch/plugin.rb
|
410
|
+
- plugins/hosts/bsd/host.rb
|
411
|
+
- plugins/hosts/bsd/plugin.rb
|
412
|
+
- plugins/hosts/fedora/host.rb
|
413
|
+
- plugins/hosts/fedora/plugin.rb
|
414
|
+
- plugins/hosts/freebsd/host.rb
|
415
|
+
- plugins/hosts/freebsd/plugin.rb
|
416
|
+
- plugins/hosts/gentoo/host.rb
|
417
|
+
- plugins/hosts/gentoo/plugin.rb
|
418
|
+
- plugins/hosts/linux/host.rb
|
419
|
+
- plugins/hosts/linux/plugin.rb
|
420
|
+
- plugins/hosts/opensuse/host.rb
|
421
|
+
- plugins/hosts/opensuse/plugin.rb
|
422
|
+
- plugins/hosts/windows/host.rb
|
423
|
+
- plugins/hosts/windows/plugin.rb
|
424
|
+
- plugins/kernel_v1/config/nfs.rb
|
425
|
+
- plugins/kernel_v1/config/package.rb
|
426
|
+
- plugins/kernel_v1/config/ssh.rb
|
427
|
+
- plugins/kernel_v1/config/vagrant.rb
|
428
|
+
- plugins/kernel_v1/config/vm.rb
|
429
|
+
- plugins/kernel_v1/plugin.rb
|
430
|
+
- plugins/kernel_v2/config/nfs.rb
|
431
|
+
- plugins/kernel_v2/config/package.rb
|
432
|
+
- plugins/kernel_v2/config/ssh.rb
|
433
|
+
- plugins/kernel_v2/config/vagrant.rb
|
434
|
+
- plugins/kernel_v2/config/vm.rb
|
435
|
+
- plugins/kernel_v2/config/vm_provisioner.rb
|
436
|
+
- plugins/kernel_v2/config/vm_subvm.rb
|
437
|
+
- plugins/kernel_v2/plugin.rb
|
438
|
+
- plugins/providers/virtualbox/action/boot.rb
|
439
|
+
- plugins/providers/virtualbox/action/check_accessible.rb
|
440
|
+
- plugins/providers/virtualbox/action/check_created.rb
|
441
|
+
- plugins/providers/virtualbox/action/check_guest_additions.rb
|
442
|
+
- plugins/providers/virtualbox/action/check_running.rb
|
443
|
+
- plugins/providers/virtualbox/action/check_virtualbox.rb
|
444
|
+
- plugins/providers/virtualbox/action/clean_machine_folder.rb
|
445
|
+
- plugins/providers/virtualbox/action/clear_forwarded_ports.rb
|
446
|
+
- plugins/providers/virtualbox/action/clear_network_interfaces.rb
|
447
|
+
- plugins/providers/virtualbox/action/clear_shared_folders.rb
|
448
|
+
- plugins/providers/virtualbox/action/created.rb
|
449
|
+
- plugins/providers/virtualbox/action/customize.rb
|
450
|
+
- plugins/providers/virtualbox/action/destroy.rb
|
451
|
+
- plugins/providers/virtualbox/action/destroy_confirm.rb
|
452
|
+
- plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
|
453
|
+
- plugins/providers/virtualbox/action/discard_state.rb
|
454
|
+
- plugins/providers/virtualbox/action/export.rb
|
455
|
+
- plugins/providers/virtualbox/action/forced_halt.rb
|
456
|
+
- plugins/providers/virtualbox/action/forward_ports.rb
|
457
|
+
- plugins/providers/virtualbox/action/import.rb
|
458
|
+
- plugins/providers/virtualbox/action/is_paused.rb
|
459
|
+
- plugins/providers/virtualbox/action/is_running.rb
|
460
|
+
- plugins/providers/virtualbox/action/is_saved.rb
|
461
|
+
- plugins/providers/virtualbox/action/match_mac_address.rb
|
462
|
+
- plugins/providers/virtualbox/action/message_not_created.rb
|
463
|
+
- plugins/providers/virtualbox/action/message_not_running.rb
|
464
|
+
- plugins/providers/virtualbox/action/message_will_not_destroy.rb
|
465
|
+
- plugins/providers/virtualbox/action/network.rb
|
466
|
+
- plugins/providers/virtualbox/action/package.rb
|
467
|
+
- plugins/providers/virtualbox/action/package_vagrantfile.rb
|
468
|
+
- plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb
|
469
|
+
- plugins/providers/virtualbox/action/prepare_nfs_settings.rb
|
470
|
+
- plugins/providers/virtualbox/action/prune_nfs_exports.rb
|
471
|
+
- plugins/providers/virtualbox/action/resume.rb
|
472
|
+
- plugins/providers/virtualbox/action/sane_defaults.rb
|
473
|
+
- plugins/providers/virtualbox/action/set_name.rb
|
474
|
+
- plugins/providers/virtualbox/action/setup_package_files.rb
|
475
|
+
- plugins/providers/virtualbox/action/share_folders.rb
|
476
|
+
- plugins/providers/virtualbox/action/suspend.rb
|
477
|
+
- plugins/providers/virtualbox/action.rb
|
478
|
+
- plugins/providers/virtualbox/config.rb
|
479
|
+
- plugins/providers/virtualbox/driver/base.rb
|
480
|
+
- plugins/providers/virtualbox/driver/meta.rb
|
481
|
+
- plugins/providers/virtualbox/driver/version_4_0.rb
|
482
|
+
- plugins/providers/virtualbox/driver/version_4_1.rb
|
483
|
+
- plugins/providers/virtualbox/driver/version_4_2.rb
|
484
|
+
- plugins/providers/virtualbox/model/forwarded_port.rb
|
485
|
+
- plugins/providers/virtualbox/plugin.rb
|
486
|
+
- plugins/providers/virtualbox/provider.rb
|
487
|
+
- plugins/providers/virtualbox/util/compile_forwarded_ports.rb
|
488
|
+
- plugins/provisioners/chef/config/base.rb
|
489
|
+
- plugins/provisioners/chef/config/chef_client.rb
|
490
|
+
- plugins/provisioners/chef/config/chef_solo.rb
|
491
|
+
- plugins/provisioners/chef/plugin.rb
|
492
|
+
- plugins/provisioners/chef/provisioner/base.rb
|
493
|
+
- plugins/provisioners/chef/provisioner/chef_client.rb
|
494
|
+
- plugins/provisioners/chef/provisioner/chef_solo.rb
|
495
|
+
- plugins/provisioners/puppet/config/puppet.rb
|
496
|
+
- plugins/provisioners/puppet/config/puppet_server.rb
|
497
|
+
- plugins/provisioners/puppet/plugin.rb
|
498
|
+
- plugins/provisioners/puppet/provisioner/puppet.rb
|
499
|
+
- plugins/provisioners/puppet/provisioner/puppet_server.rb
|
500
|
+
- plugins/provisioners/shell/config.rb
|
501
|
+
- plugins/provisioners/shell/plugin.rb
|
502
|
+
- plugins/provisioners/shell/provisioner.rb
|
503
|
+
- plugins/README.md
|
409
504
|
- Rakefile
|
410
505
|
- README.md
|
411
506
|
- tasks/acceptance.rake
|
@@ -413,6 +508,7 @@ files:
|
|
413
508
|
- tasks/test.rake
|
414
509
|
- templates/commands/init/Vagrantfile.erb
|
415
510
|
- templates/commands/ssh_config/config.erb
|
511
|
+
- templates/config/messages.erb
|
416
512
|
- templates/config/validation_failed.erb
|
417
513
|
- templates/guests/arch/network_dhcp.erb
|
418
514
|
- templates/guests/arch/network_static.erb
|
@@ -433,6 +529,7 @@ files:
|
|
433
529
|
- templates/package_Vagrantfile.erb
|
434
530
|
- templates/provisioners/chef_client/client.erb
|
435
531
|
- templates/provisioners/chef_solo/solo.erb
|
532
|
+
- templates/rgloader.rb
|
436
533
|
- test/acceptance/base.rb
|
437
534
|
- test/acceptance/box_test.rb
|
438
535
|
- test/acceptance/destroy_test.rb
|
@@ -468,95 +565,57 @@ files:
|
|
468
565
|
- test/acceptance/up_with_box_url.rb
|
469
566
|
- test/acceptance/vagrant_test.rb
|
470
567
|
- test/acceptance/version_test.rb
|
471
|
-
- test/buildbot/buildbot_config/__init__.py
|
472
|
-
- test/buildbot/buildbot_config/config/__init__.py
|
473
|
-
- test/buildbot/buildbot_config/config/loader.py
|
474
|
-
- test/buildbot/buildbot_config/config/master.py
|
475
|
-
- test/buildbot/buildbot_config/config/slave.py
|
476
|
-
- test/buildbot/buildbot_config/master/__init__.py
|
477
|
-
- test/buildbot/buildbot_config/master/builders.py
|
478
|
-
- test/buildbot/buildbot_config/master/buildsteps.py
|
479
|
-
- test/buildbot/buildbot_config/master/change_sources.py
|
480
|
-
- test/buildbot/buildbot_config/master/schedulers.py
|
481
|
-
- test/buildbot/buildbot_config/master/slaves.py
|
482
|
-
- test/buildbot/buildbot_config/master/status.py
|
483
|
-
- test/buildbot/master/buildbot.tac
|
484
|
-
- test/buildbot/master/Makefile.sample
|
485
|
-
- test/buildbot/master/master.cfg
|
486
|
-
- test/buildbot/master/public_html/bg_gradient.jpg
|
487
|
-
- test/buildbot/master/public_html/default.css
|
488
|
-
- test/buildbot/master/public_html/favicon.ico
|
489
|
-
- test/buildbot/master/public_html/robots.txt
|
490
|
-
- test/buildbot/master/public_html/static/css/bootstrap-1.4.0.min.css
|
491
|
-
- test/buildbot/master/public_html/static/css/prettify.css
|
492
|
-
- test/buildbot/master/public_html/static/css/syntax.css
|
493
|
-
- test/buildbot/master/public_html/static/css/vagrant.base.css
|
494
|
-
- test/buildbot/master/public_html/static/images/base_box_mac.jpg
|
495
|
-
- test/buildbot/master/public_html/static/images/getting-started/success.jpg
|
496
|
-
- test/buildbot/master/public_html/static/images/icons/error.png
|
497
|
-
- test/buildbot/master/public_html/static/images/vagrant_chilling.png
|
498
|
-
- test/buildbot/master/public_html/static/images/vagrant_holding.png
|
499
|
-
- test/buildbot/master/public_html/static/images/vagrant_looking.png
|
500
|
-
- test/buildbot/master/public_html/static/images/windows/alter_path.jpg
|
501
|
-
- test/buildbot/master/public_html/static/images/windows/edit_path.jpg
|
502
|
-
- test/buildbot/master/public_html/static/images/windows/environment_variables_button.jpg
|
503
|
-
- test/buildbot/master/public_html/static/images/windows/port_and_ppk_path.jpg
|
504
|
-
- test/buildbot/master/public_html/static/images/windows/ppk_selection.jpg
|
505
|
-
- test/buildbot/master/public_html/static/images/windows/putty_first_screen.jpg
|
506
|
-
- test/buildbot/master/public_html/static/images/windows/save_result.jpg
|
507
|
-
- test/buildbot/master/public_html/static/images/windows/vbox_manage_default_location.jpg
|
508
|
-
- test/buildbot/master/public_html/static/js/bootstrap-tabs.js
|
509
|
-
- test/buildbot/master/public_html/static/js/jquery-1.7.min.js
|
510
|
-
- test/buildbot/master/templates/authfail.html
|
511
|
-
- test/buildbot/master/templates/build.html
|
512
|
-
- test/buildbot/master/templates/builder.html
|
513
|
-
- test/buildbot/master/templates/builders.html
|
514
|
-
- test/buildbot/master/templates/buildslave.html
|
515
|
-
- test/buildbot/master/templates/buildslaves.html
|
516
|
-
- test/buildbot/master/templates/change.html
|
517
|
-
- test/buildbot/master/templates/layouts/base.html
|
518
|
-
- test/buildbot/master/templates/macros/box.html
|
519
|
-
- test/buildbot/master/templates/macros/build_line.html
|
520
|
-
- test/buildbot/master/templates/macros/change.html
|
521
|
-
- test/buildbot/master/templates/macros/forms.html
|
522
|
-
- test/buildbot/master/templates/root.html
|
523
|
-
- test/buildbot/master/templates/waterfall.html
|
524
|
-
- test/buildbot/README.md
|
525
|
-
- test/buildbot/requirements.txt
|
526
|
-
- test/buildbot/scripts/deploy.sh
|
527
|
-
- test/buildbot/scripts/setup.sh
|
528
|
-
- test/buildbot/slave/buildbot.tac
|
529
|
-
- test/buildbot/slave/info/admin
|
530
|
-
- test/buildbot/slave/info/host
|
531
|
-
- test/buildbot/tests/__init__.py
|
532
|
-
- test/buildbot/tests/master/__init__.py
|
533
|
-
- test/buildbot/tests/master/test_slaves.py
|
534
|
-
- test/buildbot/vendor/choices-0.4.0.tar.gz
|
535
568
|
- test/config/acceptance_boxes.yml
|
536
569
|
- test/support/isolated_environment.rb
|
537
570
|
- test/support/tempdir.rb
|
538
571
|
- test/unit/base.rb
|
572
|
+
- test/unit/support/dummy_provider.rb
|
539
573
|
- test/unit/support/isolated_environment.rb
|
540
574
|
- test/unit/support/shared/base_context.rb
|
541
575
|
- test/unit/vagrant/action/builder_test.rb
|
542
|
-
- test/unit/vagrant/action/
|
576
|
+
- test/unit/vagrant/action/builtin/call_test.rb
|
577
|
+
- test/unit/vagrant/action/builtin/confirm_test.rb
|
578
|
+
- test/unit/vagrant/action/builtin/env_set_test.rb
|
579
|
+
- test/unit/vagrant/action/builtin/graceful_halt_test.rb
|
580
|
+
- test/unit/vagrant/action/builtin/lock_test.rb
|
581
|
+
- test/unit/vagrant/action/builtin/ssh_exec_test.rb
|
582
|
+
- test/unit/vagrant/action/hook_test.rb
|
543
583
|
- test/unit/vagrant/action/runner_test.rb
|
544
584
|
- test/unit/vagrant/action/warden_test.rb
|
545
585
|
- test/unit/vagrant/box_collection_test.rb
|
546
586
|
- test/unit/vagrant/box_test.rb
|
547
|
-
- test/unit/vagrant/
|
548
|
-
- test/unit/vagrant/config/base_test.rb
|
587
|
+
- test/unit/vagrant/cli_test.rb
|
549
588
|
- test/unit/vagrant/config/loader_test.rb
|
550
|
-
- test/unit/vagrant/config/
|
551
|
-
- test/unit/vagrant/config/
|
552
|
-
- test/unit/vagrant/config/
|
589
|
+
- test/unit/vagrant/config/v1/dummy_config_test.rb
|
590
|
+
- test/unit/vagrant/config/v1/loader_test.rb
|
591
|
+
- test/unit/vagrant/config/v1/root_test.rb
|
592
|
+
- test/unit/vagrant/config/v2/dummy_config_test.rb
|
593
|
+
- test/unit/vagrant/config/v2/loader_test.rb
|
594
|
+
- test/unit/vagrant/config/v2/root_test.rb
|
595
|
+
- test/unit/vagrant/config/v2/util_test.rb
|
553
596
|
- test/unit/vagrant/config_test.rb
|
554
|
-
- test/unit/vagrant/data_store_test.rb
|
555
597
|
- test/unit/vagrant/downloaders/base_test.rb
|
556
598
|
- test/unit/vagrant/downloaders/file_test.rb
|
557
599
|
- test/unit/vagrant/downloaders/http_test.rb
|
558
600
|
- test/unit/vagrant/environment_test.rb
|
559
601
|
- test/unit/vagrant/hosts_test.rb
|
602
|
+
- test/unit/vagrant/machine_state_test.rb
|
603
|
+
- test/unit/vagrant/machine_test.rb
|
604
|
+
- test/unit/vagrant/plugin/v1/command_test.rb
|
605
|
+
- test/unit/vagrant/plugin/v1/communicator_test.rb
|
606
|
+
- test/unit/vagrant/plugin/v1/config_test.rb
|
607
|
+
- test/unit/vagrant/plugin/v1/host_test.rb
|
608
|
+
- test/unit/vagrant/plugin/v1/manager_test.rb
|
609
|
+
- test/unit/vagrant/plugin/v1/plugin_test.rb
|
610
|
+
- test/unit/vagrant/plugin/v1/provider_test.rb
|
611
|
+
- test/unit/vagrant/plugin/v2/command_test.rb
|
612
|
+
- test/unit/vagrant/plugin/v2/communicator_test.rb
|
613
|
+
- test/unit/vagrant/plugin/v2/components_test.rb
|
614
|
+
- test/unit/vagrant/plugin/v2/config_test.rb
|
615
|
+
- test/unit/vagrant/plugin/v2/host_test.rb
|
616
|
+
- test/unit/vagrant/plugin/v2/manager_test.rb
|
617
|
+
- test/unit/vagrant/plugin/v2/plugin_test.rb
|
618
|
+
- test/unit/vagrant/plugin/v2/provider_test.rb
|
560
619
|
- test/unit/vagrant/registry_test.rb
|
561
620
|
- test/unit/vagrant/util/ansi_escape_code_remover_test.rb
|
562
621
|
- test/unit/vagrant/util/file_checksum_test.rb
|
@@ -565,157 +624,13 @@ files:
|
|
565
624
|
- test/unit/vagrant/util/line_endings_helper_test.rb
|
566
625
|
- test/unit/vagrant/util/network_ip_test.rb
|
567
626
|
- test/unit/vagrant/util/retryable_test.rb
|
627
|
+
- test/unit/vagrant/util/scoped_hash_override_test.rb
|
628
|
+
- test/unit/vagrant/util/ssh_test.rb
|
629
|
+
- test/unit/vagrant/util/string_block_editor_test.rb
|
630
|
+
- test/unit/vagrant/util/which_test.rb
|
568
631
|
- test/unit/vagrant_test.rb
|
569
|
-
- test/unit_legacy/locales/en.yml
|
570
|
-
- test/unit_legacy/test_helper.rb
|
571
|
-
- test/unit_legacy/vagrant/action/box/destroy_test.rb
|
572
|
-
- test/unit_legacy/vagrant/action/box/download_test.rb
|
573
|
-
- test/unit_legacy/vagrant/action/box/package_test.rb
|
574
|
-
- test/unit_legacy/vagrant/action/box/unpackage_test.rb
|
575
|
-
- test/unit_legacy/vagrant/action/box/verify_test.rb
|
576
|
-
- test/unit_legacy/vagrant/action/env/set_test.rb
|
577
|
-
- test/unit_legacy/vagrant/action/general/package_test.rb
|
578
|
-
- test/unit_legacy/vagrant/action/general/validate_test.rb
|
579
|
-
- test/unit_legacy/vagrant/action/vm/boot_test.rb
|
580
|
-
- test/unit_legacy/vagrant/action/vm/check_accessible_test.rb
|
581
|
-
- test/unit_legacy/vagrant/action/vm/check_box_test.rb
|
582
|
-
- test/unit_legacy/vagrant/action/vm/check_guest_additions_test.rb
|
583
|
-
- test/unit_legacy/vagrant/action/vm/clean_machine_folder_test.rb
|
584
|
-
- test/unit_legacy/vagrant/action/vm/clear_forwarded_ports_test.rb
|
585
|
-
- test/unit_legacy/vagrant/action/vm/clear_nfs_exports_test.rb
|
586
|
-
- test/unit_legacy/vagrant/action/vm/clear_shared_folders_test.rb
|
587
|
-
- test/unit_legacy/vagrant/action/vm/customize_test.rb
|
588
|
-
- test/unit_legacy/vagrant/action/vm/destroy_test.rb
|
589
|
-
- test/unit_legacy/vagrant/action/vm/destroy_unused_network_interfaces_test.rb
|
590
|
-
- test/unit_legacy/vagrant/action/vm/discard_state_test.rb
|
591
|
-
- test/unit_legacy/vagrant/action/vm/export_test.rb
|
592
|
-
- test/unit_legacy/vagrant/action/vm/forward_ports_helpers_test.rb
|
593
|
-
- test/unit_legacy/vagrant/action/vm/forward_ports_test.rb
|
594
|
-
- test/unit_legacy/vagrant/action/vm/halt_test.rb
|
595
|
-
- test/unit_legacy/vagrant/action/vm/host_name_test.rb
|
596
|
-
- test/unit_legacy/vagrant/action/vm/import_test.rb
|
597
|
-
- test/unit_legacy/vagrant/action/vm/match_mac_address_test.rb
|
598
|
-
- test/unit_legacy/vagrant/action/vm/modify_test.rb
|
599
|
-
- test/unit_legacy/vagrant/action/vm/network_test.rb
|
600
|
-
- test/unit_legacy/vagrant/action/vm/nfs_helpers_test.rb
|
601
|
-
- test/unit_legacy/vagrant/action/vm/nfs_test.rb
|
602
|
-
- test/unit_legacy/vagrant/action/vm/package_test.rb
|
603
|
-
- test/unit_legacy/vagrant/action/vm/package_vagrantfile_test.rb
|
604
|
-
- test/unit_legacy/vagrant/action/vm/provision_test.rb
|
605
|
-
- test/unit_legacy/vagrant/action/vm/provisioner_cleanup_test.rb
|
606
|
-
- test/unit_legacy/vagrant/action/vm/resume_test.rb
|
607
|
-
- test/unit_legacy/vagrant/action/vm/share_folders_test.rb
|
608
|
-
- test/unit_legacy/vagrant/action/vm/suspend_test.rb
|
609
|
-
- test/unit_legacy/vagrant/action_test.rb
|
610
|
-
- test/unit_legacy/vagrant/box_collection_test.rb
|
611
|
-
- test/unit_legacy/vagrant/box_test.rb
|
612
|
-
- test/unit_legacy/vagrant/cli_test.rb
|
613
|
-
- test/unit_legacy/vagrant/command/base_test.rb
|
614
|
-
- test/unit_legacy/vagrant/command/group_base_test.rb
|
615
|
-
- test/unit_legacy/vagrant/command/helpers_test.rb
|
616
|
-
- test/unit_legacy/vagrant/command/init_test.rb
|
617
|
-
- test/unit_legacy/vagrant/command/package_test.rb
|
618
|
-
- test/unit_legacy/vagrant/config/base_test.rb
|
619
|
-
- test/unit_legacy/vagrant/config/error_recorder_test.rb
|
620
|
-
- test/unit_legacy/vagrant/config/ssh_test.rb
|
621
|
-
- test/unit_legacy/vagrant/config/vagrant_test.rb
|
622
|
-
- test/unit_legacy/vagrant/config/vm/provisioner_test.rb
|
623
|
-
- test/unit_legacy/vagrant/config/vm_test.rb
|
624
|
-
- test/unit_legacy/vagrant/config_test.rb
|
625
|
-
- test/unit_legacy/vagrant/downloaders/http_test.rb
|
626
|
-
- test/unit_legacy/vagrant/environment_test.rb
|
627
|
-
- test/unit_legacy/vagrant/errors_test.rb
|
628
|
-
- test/unit_legacy/vagrant/hosts/base_test.rb
|
629
|
-
- test/unit_legacy/vagrant/hosts/bsd_test.rb
|
630
|
-
- test/unit_legacy/vagrant/hosts/linux_test.rb
|
631
|
-
- test/unit_legacy/vagrant/plugin_test.rb
|
632
|
-
- test/unit_legacy/vagrant/provisioners/base_test.rb
|
633
|
-
- test/unit_legacy/vagrant/provisioners/chef_client_test.rb
|
634
|
-
- test/unit_legacy/vagrant/provisioners/chef_solo_test.rb
|
635
|
-
- test/unit_legacy/vagrant/provisioners/chef_test.rb
|
636
|
-
- test/unit_legacy/vagrant/provisioners/puppet_server_test.rb
|
637
|
-
- test/unit_legacy/vagrant/provisioners/puppet_test.rb
|
638
|
-
- test/unit_legacy/vagrant/provisioners/shell_test.rb
|
639
|
-
- test/unit_legacy/vagrant/ssh/session_test.rb
|
640
|
-
- test/unit_legacy/vagrant/ssh_test.rb
|
641
|
-
- test/unit_legacy/vagrant/systems/base_test.rb
|
642
|
-
- test/unit_legacy/vagrant/systems/linux_test.rb
|
643
|
-
- test/unit_legacy/vagrant/util/busy_test.rb
|
644
|
-
- test/unit_legacy/vagrant/util/counter_test.rb
|
645
|
-
- test/unit_legacy/vagrant/util/platform_test.rb
|
646
|
-
- test/unit_legacy/vagrant/util/stacked_proc_runner_test.rb
|
647
|
-
- test/unit_legacy/vagrant/util/template_renderer_test.rb
|
648
|
-
- test/unit_legacy/vagrant/vm_test.rb
|
649
|
-
- vagrant-1.1.4.gem
|
650
632
|
- vagrant.gemspec
|
651
633
|
- vagrant.gemspecbak
|
652
|
-
- vagrantup-0.1.0.gem
|
653
|
-
- vagrantup-0.1.1.gem
|
654
|
-
- vagrantup-0.1.2.gem
|
655
|
-
- vagrantup-0.1.3.gem
|
656
|
-
- vagrantup-0.1.4.gem
|
657
|
-
- vagrantup-0.2.0.gem
|
658
|
-
- vagrantup-0.3.0.gem
|
659
|
-
- vagrantup-0.3.1.gem
|
660
|
-
- vagrantup-0.3.2.gem
|
661
|
-
- vagrantup-0.3.3.gem
|
662
|
-
- vagrantup-0.3.4.gem
|
663
|
-
- vagrantup-0.4.0.gem
|
664
|
-
- vagrantup-0.4.1.gem
|
665
|
-
- vagrantup-0.4.3.dev.gem
|
666
|
-
- vagrantup-0.5.0.gem
|
667
|
-
- vagrantup-0.5.1.gem
|
668
|
-
- vagrantup-0.5.2.gem
|
669
|
-
- vagrantup-0.5.3.gem
|
670
|
-
- vagrantup-0.5.4.gem
|
671
|
-
- vagrantup-0.6.0.gem
|
672
|
-
- vagrantup-0.6.1.gem
|
673
|
-
- vagrantup-0.6.2.gem
|
674
|
-
- vagrantup-0.6.3.gem
|
675
|
-
- vagrantup-0.6.4.gem
|
676
|
-
- vagrantup-0.6.5.gem
|
677
|
-
- vagrantup-0.6.6.gem
|
678
|
-
- vagrantup-0.6.7.gem
|
679
|
-
- vagrantup-0.6.8.gem
|
680
|
-
- vagrantup-0.6.9.gem
|
681
|
-
- vagrantup-0.7.0.gem
|
682
|
-
- vagrantup-0.7.1.gem
|
683
|
-
- vagrantup-0.7.2.gem
|
684
|
-
- vagrantup-0.7.3.gem
|
685
|
-
- vagrantup-0.7.4.gem
|
686
|
-
- vagrantup-0.7.5.gem
|
687
|
-
- vagrantup-0.7.6.gem
|
688
|
-
- vagrantup-0.7.7.gem
|
689
|
-
- vagrantup-0.7.8.gem
|
690
|
-
- vagrantup-0.8.0.gem
|
691
|
-
- vagrantup-0.8.1.gem
|
692
|
-
- vagrantup-0.8.10.gem
|
693
|
-
- vagrantup-0.8.2.gem
|
694
|
-
- vagrantup-0.8.3.gem
|
695
|
-
- vagrantup-0.8.4.gem
|
696
|
-
- vagrantup-0.8.5.gem
|
697
|
-
- vagrantup-0.8.6.gem
|
698
|
-
- vagrantup-0.8.7.gem
|
699
|
-
- vagrantup-0.8.8.gem
|
700
|
-
- vagrantup-0.8.9.gem
|
701
|
-
- vagrantup-0.9.0.gem
|
702
|
-
- vagrantup-0.9.1.gem
|
703
|
-
- vagrantup-0.9.2.gem
|
704
|
-
- vagrantup-0.9.3.gem
|
705
|
-
- vagrantup-0.9.4.gem
|
706
|
-
- vagrantup-0.9.5.gem
|
707
|
-
- vagrantup-0.9.6.gem
|
708
|
-
- vagrantup-0.9.7.gem
|
709
|
-
- vagrantup-0.9.99.1.gem
|
710
|
-
- vagrantup-0.9.99.2.gem
|
711
|
-
- vagrantup-1.0.0.gem
|
712
|
-
- vagrantup-1.0.1.gem
|
713
|
-
- vagrantup-1.0.2.gem
|
714
|
-
- vagrantup-1.0.3.gem
|
715
|
-
- vagrantup-1.0.4.gem
|
716
|
-
- vagrantup-1.0.5.gem
|
717
|
-
- vagrantup-1.0.6.gem
|
718
|
-
- vagrantup-1.1.4.gem
|
719
634
|
homepage: http://vagrantup.com
|
720
635
|
licenses: []
|
721
636
|
metadata: {}
|