vagrant 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +14 -0
- data/lib/vagrant/action/vm/sane_defaults.rb +1 -1
- data/lib/vagrant/communication/ssh.rb +5 -4
- data/lib/vagrant/driver/virtualbox_base.rb +17 -0
- data/lib/vagrant/guest/ubuntu.rb +1 -1
- data/lib/vagrant/provisioners/puppet.rb +1 -1
- data/lib/vagrant/provisioners/puppet_server.rb +4 -4
- data/lib/vagrant/provisioners/shell.rb +6 -0
- data/lib/vagrant/version.rb +1 -1
- data/test/unit/vagrant/environment_test.rb +8 -0
- data/vagrant.gemspec +33 -2
- metadata +78 -76
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,3 +1,17 @@ | |
| 1 | 
            +
            ## 1.0.6 (unreleased)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
              - Shell provisioner outputs proper line endings on Windows [GH-1164]
         | 
| 4 | 
            +
              - SSH upload opens file to stream which fixes strange upload issues.
         | 
| 5 | 
            +
              - Check for proper exit codes for Puppet, since multiple exit codes
         | 
| 6 | 
            +
                can mean success. [GH-1180]
         | 
| 7 | 
            +
              - Fix issue where DNS doesn't resolve properly for 12.10. [GH-1176]
         | 
| 8 | 
            +
              - Allow hostname to be a substring of the box name for Ubuntu [GH-1163]
         | 
| 9 | 
            +
              - Use `puppet agent` instead of `puppetd` to be Puppet 3.x
         | 
| 10 | 
            +
                compatible. [GH-1169]
         | 
| 11 | 
            +
              - Work around bug in VirtualBox exposed by bug in OS X 10.8 where
         | 
| 12 | 
            +
                VirtualBox executables couldn't handle garbage being injected into
         | 
| 13 | 
            +
                stdout by OS X.
         | 
| 14 | 
            +
             | 
| 1 15 | 
             
            ## 1.0.5 (September 18, 2012)
         | 
| 2 16 |  | 
| 3 17 | 
             
              - Work around a critical bug in VirtualBox 4.2.0 on Windows that
         | 
| @@ -32,7 +32,7 @@ module Vagrant | |
| 32 32 | 
             
                      begin
         | 
| 33 33 | 
             
                        contents = File.read("/etc/resolv.conf")
         | 
| 34 34 |  | 
| 35 | 
            -
                        if contents =~ /^nameserver 127\.0\.0\.1$/
         | 
| 35 | 
            +
                        if contents =~ /^nameserver 127\.0\.(0|1)\.1$/
         | 
| 36 36 | 
             
                          # The use of both natdnsproxy and natdnshostresolver break on
         | 
| 37 37 | 
             
                          # Ubuntu 12.04 that uses resolvconf with localhost. When used
         | 
| 38 38 | 
             
                          # VirtualBox will give the client dns server 10.0.2.3, while
         | 
| @@ -77,15 +77,16 @@ module Vagrant | |
| 77 77 |  | 
| 78 78 | 
             
                    # Do an SCP-based upload...
         | 
| 79 79 | 
             
                    connect do |connection|
         | 
| 80 | 
            +
                      # Open file read only to fix issue #1036
         | 
| 80 81 | 
             
                      scp = Net::SCP.new(connection)
         | 
| 81 | 
            -
                      scp.upload!(from, to)
         | 
| 82 | 
            +
                      scp.upload!(File.open(from, "r"), to)
         | 
| 82 83 | 
             
                    end
         | 
| 83 84 | 
             
                  rescue Net::SCP::Error => e
         | 
| 84 85 | 
             
                    # If we get the exit code of 127, then this means SCP is unavailable.
         | 
| 85 86 | 
             
                    raise Errors::SCPUnavailable if e.message =~ /\(127\)/
         | 
| 86 87 |  | 
| 87 | 
            -
             | 
| 88 | 
            -
             | 
| 88 | 
            +
                      # Otherwise, just raise the error up
         | 
| 89 | 
            +
                      raise
         | 
| 89 90 | 
             
                  end
         | 
| 90 91 |  | 
| 91 92 | 
             
                  protected
         | 
| @@ -168,7 +169,7 @@ module Vagrant | |
| 168 169 | 
             
                    # Yield the connection that is ready to be used and
         | 
| 169 170 | 
             
                    # return the value of the block
         | 
| 170 171 | 
             
                    return yield connection if block_given?
         | 
| 171 | 
            -
             | 
| 172 | 
            +
                  end
         | 
| 172 173 |  | 
| 173 174 | 
             
                  # Executes the command on an SSH connection within a login shell.
         | 
| 174 175 | 
             
                  def shell_execute(connection, command, sudo=false)
         | 
| @@ -300,9 +300,26 @@ module Vagrant | |
| 300 300 | 
             
                      @logger.info("Interrupted.")
         | 
| 301 301 | 
             
                    end
         | 
| 302 302 |  | 
| 303 | 
            +
                    # The following is a workaround for a combined VirtualBox and
         | 
| 304 | 
            +
                    # Mac OS X 10.8 bug:
         | 
| 305 | 
            +
                    #
         | 
| 306 | 
            +
                    # Remove the DYLD_LIBRARY_PATH environmental variable on Mac. This
         | 
| 307 | 
            +
                    # is to fix a bug in Mac OS X 10.8 where a warning is printed to the
         | 
| 308 | 
            +
                    # console if this is set when executing certain programs, which
         | 
| 309 | 
            +
                    # can cause some VBoxManage commands to break because they work
         | 
| 310 | 
            +
                    # by just reading stdout and don't expect the OS to just inject
         | 
| 311 | 
            +
                    # garbage into it.
         | 
| 312 | 
            +
                    old_dyld_lib_path = ENV.delete("DYLD_LIBRARY_PATH")
         | 
| 313 | 
            +
                    old_ld_lib_path   = ENV.delete("LD_LIBRARY_PATH")
         | 
| 314 | 
            +
             | 
| 303 315 | 
             
                    Util::Busy.busy(int_callback) do
         | 
| 304 316 | 
             
                      Subprocess.execute(@vboxmanage_path, *command, &block)
         | 
| 305 317 | 
             
                    end
         | 
| 318 | 
            +
                  ensure
         | 
| 319 | 
            +
                    # Reset the library path if it was set before. See above comments
         | 
| 320 | 
            +
                    # for more information on why this was unset in the first place.
         | 
| 321 | 
            +
                    ENV["DYLD_LIBRARY_PATH"] = old_dyld_lib_path if old_dyld_lib_path
         | 
| 322 | 
            +
                    ENV["LD_LIBRARY_PATH"]   = old_ld_lib_path if old_ld_lib_path
         | 
| 306 323 | 
             
                  end
         | 
| 307 324 | 
             
                end
         | 
| 308 325 | 
             
              end
         | 
    
        data/lib/vagrant/guest/ubuntu.rb
    CHANGED
    
    | @@ -12,7 +12,7 @@ module Vagrant | |
| 12 12 | 
             
                  end
         | 
| 13 13 |  | 
| 14 14 | 
             
                  def change_host_name(name)
         | 
| 15 | 
            -
                    if !vm.channel.test("sudo hostname | grep ' | 
| 15 | 
            +
                    if !vm.channel.test("sudo hostname | grep '^#{name}$'")
         | 
| 16 16 | 
             
                      vm.channel.sudo("sed -i 's/.*$/#{name}/' /etc/hostname")
         | 
| 17 17 | 
             
                      vm.channel.sudo("sed -i 's@^\\(127[.]0[.]1[.]1[[:space:]]\\+\\)@\\1#{name} #{name.split('.')[0]} @' /etc/hosts")
         | 
| 18 18 | 
             
                      vm.channel.sudo("service hostname start")
         | 
| @@ -151,7 +151,7 @@ module Vagrant | |
| 151 151 | 
             
                      facter = "#{facts.join(" ")} "
         | 
| 152 152 | 
             
                    end
         | 
| 153 153 |  | 
| 154 | 
            -
                    command = "cd #{manifests_guest_path} && #{facter}puppet apply #{options}"
         | 
| 154 | 
            +
                    command = "cd #{manifests_guest_path} && #{facter}puppet apply #{options} --detailed-exitcodes || [ $? -eq 2 ]"
         | 
| 155 155 |  | 
| 156 156 | 
             
                    env[:ui].info I18n.t("vagrant.provisioners.puppet.running_puppet",
         | 
| 157 157 | 
             
                                         :manifest => @manifest_file)
         | 
| @@ -21,8 +21,8 @@ module Vagrant | |
| 21 21 | 
             
                  end
         | 
| 22 22 |  | 
| 23 23 | 
             
                  def provision!
         | 
| 24 | 
            -
                    verify_binary(" | 
| 25 | 
            -
                     | 
| 24 | 
            +
                    verify_binary("puppet")
         | 
| 25 | 
            +
                    run_puppet_agent
         | 
| 26 26 | 
             
                  end
         | 
| 27 27 |  | 
| 28 28 | 
             
                  def verify_binary(binary)
         | 
| @@ -32,7 +32,7 @@ module Vagrant | |
| 32 32 | 
             
                                          :binary => binary)
         | 
| 33 33 | 
             
                  end
         | 
| 34 34 |  | 
| 35 | 
            -
                  def  | 
| 35 | 
            +
                  def run_puppet_agent
         | 
| 36 36 | 
             
                    options = config.options
         | 
| 37 37 | 
             
                    options = [options] if !options.is_a?(Array)
         | 
| 38 38 |  | 
| @@ -66,7 +66,7 @@ module Vagrant | |
| 66 66 | 
             
                      facter = "#{facts.join(" ")} "
         | 
| 67 67 | 
             
                    end
         | 
| 68 68 |  | 
| 69 | 
            -
                    command = "#{facter} | 
| 69 | 
            +
                    command = "#{facter}puppet agent #{options} --server #{config.puppet_server} --detailed-exitcodes || [ $? -eq 2 ]"
         | 
| 70 70 |  | 
| 71 71 | 
             
                    env[:ui].info I18n.t("vagrant.provisioners.puppet_server.running_puppetd")
         | 
| 72 72 | 
             
                    env[:vm].channel.sudo(command) do |type, data|
         | 
| @@ -59,6 +59,12 @@ module Vagrant | |
| 59 59 | 
             
                    # Otherwise we have an inline script, we need to Tempfile it,
         | 
| 60 60 | 
             
                    # and handle it specially...
         | 
| 61 61 | 
             
                    file = Tempfile.new('vagrant-shell')
         | 
| 62 | 
            +
             | 
| 63 | 
            +
                    # Unless you set binmode, on a Windows host the shell script will
         | 
| 64 | 
            +
                    # have CRLF line endings instead of LF line endings, causing havoc
         | 
| 65 | 
            +
                    # when the guest executes it
         | 
| 66 | 
            +
                    file.binmode
         | 
| 67 | 
            +
             | 
| 62 68 | 
             
                    begin
         | 
| 63 69 | 
             
                      file.write(config.inline)
         | 
| 64 70 | 
             
                      file.fsync
         | 
    
        data/lib/vagrant/version.rb
    CHANGED
    
    
| @@ -97,6 +97,14 @@ describe Vagrant::Environment do | |
| 97 97 | 
             
              end
         | 
| 98 98 |  | 
| 99 99 | 
             
              describe "primary VM" do
         | 
| 100 | 
            +
                before do
         | 
| 101 | 
            +
                  # This is really nasty but we do this to remove the dependency on
         | 
| 102 | 
            +
                  # having VirtualBox installed to run tests.
         | 
| 103 | 
            +
                  Vagrant::Driver::VirtualBox.stub(:new) do |uuid|
         | 
| 104 | 
            +
                    double("vm-#{uuid}")
         | 
| 105 | 
            +
                  end
         | 
| 106 | 
            +
                end
         | 
| 107 | 
            +
             | 
| 100 108 | 
             
                it "should be the only VM if not a multi-VM environment" do
         | 
| 101 109 | 
             
                  instance.primary_vm.should == instance.vms.values.first
         | 
| 102 110 | 
             
                end
         | 
    
        data/vagrant.gemspec
    CHANGED
    
    | @@ -32,8 +32,39 @@ Gem::Specification.new do |s| | |
| 32 32 | 
             
              s.add_development_dependency "rspec-expectations", "~> 2.8.0"
         | 
| 33 33 | 
             
              s.add_development_dependency "rspec-mocks", "~> 2.8.0"
         | 
| 34 34 |  | 
| 35 | 
            -
               | 
| 36 | 
            -
               | 
| 35 | 
            +
              # The following block of code determines the files that should be included
         | 
| 36 | 
            +
              # in the gem. It does this by reading all the files in the directory where
         | 
| 37 | 
            +
              # this gemspec is, and parsing out the ignored files from the gitignore.
         | 
| 38 | 
            +
              # Note that the entire gitignore(5) syntax is not supported, specifically
         | 
| 39 | 
            +
              # the "!" syntax, but it should mostly work correctly.
         | 
| 40 | 
            +
              root_path      = File.dirname(__FILE__)
         | 
| 41 | 
            +
              all_files      = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
         | 
| 42 | 
            +
              all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
         | 
| 43 | 
            +
              gitignore_path = File.join(root_path, ".gitignore")
         | 
| 44 | 
            +
              gitignore      = File.readlines(gitignore_path)
         | 
| 45 | 
            +
              gitignore.map!    { |line| line.chomp.strip }
         | 
| 46 | 
            +
              gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
         | 
| 47 | 
            +
             | 
| 48 | 
            +
              unignored_files = all_files.reject do |file|
         | 
| 49 | 
            +
                # Ignore any directories, the gemspec only cares about files
         | 
| 50 | 
            +
                next true if File.directory?(file)
         | 
| 51 | 
            +
             | 
| 52 | 
            +
                # Ignore any paths that match anything in the gitignore. We do
         | 
| 53 | 
            +
                # two tests here:
         | 
| 54 | 
            +
                #
         | 
| 55 | 
            +
                #   - First, test to see if the entire path matches the gitignore.
         | 
| 56 | 
            +
                #   - Second, match if the basename does, this makes it so that things
         | 
| 57 | 
            +
                #     like '.DS_Store' will match sub-directories too (same behavior
         | 
| 58 | 
            +
                #     as git).
         | 
| 59 | 
            +
                #
         | 
| 60 | 
            +
                gitignore.any? do |ignore|
         | 
| 61 | 
            +
                  File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
         | 
| 62 | 
            +
                    File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
         | 
| 63 | 
            +
                end
         | 
| 64 | 
            +
              end
         | 
| 65 | 
            +
             | 
| 66 | 
            +
              s.files         = unignored_files
         | 
| 67 | 
            +
              s.executables   = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
         | 
| 37 68 | 
             
              s.require_path  = 'lib'
         | 
| 38 69 | 
             
            end
         | 
| 39 70 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: vagrant
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              hash:  | 
| 4 | 
            +
              hash: 27
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
              segments: 
         | 
| 7 7 | 
             
              - 1
         | 
| 8 8 | 
             
              - 0
         | 
| 9 | 
            -
              -  | 
| 10 | 
            -
              version: 1.0. | 
| 9 | 
            +
              - 6
         | 
| 10 | 
            +
              version: 1.0.6
         | 
| 11 11 | 
             
            platform: ruby
         | 
| 12 12 | 
             
            authors: 
         | 
| 13 13 | 
             
            - Mitchell Hashimoto
         | 
| @@ -16,11 +16,10 @@ autorequire: | |
| 16 16 | 
             
            bindir: bin
         | 
| 17 17 | 
             
            cert_chain: []
         | 
| 18 18 |  | 
| 19 | 
            -
            date:  | 
| 19 | 
            +
            date: 2013-01-24 00:00:00 -08:00
         | 
| 20 | 
            +
            default_executable: 
         | 
| 20 21 | 
             
            dependencies: 
         | 
| 21 22 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| 22 | 
            -
              name: archive-tar-minitar
         | 
| 23 | 
            -
              prerelease: false
         | 
| 24 23 | 
             
              requirement: &id001 !ruby/object:Gem::Requirement 
         | 
| 25 24 | 
             
                none: false
         | 
| 26 25 | 
             
                requirements: 
         | 
| @@ -32,11 +31,11 @@ dependencies: | |
| 32 31 | 
             
                    - 5
         | 
| 33 32 | 
             
                    - 2
         | 
| 34 33 | 
             
                    version: 0.5.2
         | 
| 35 | 
            -
              type: :runtime
         | 
| 36 34 | 
             
              version_requirements: *id001
         | 
| 37 | 
            -
             | 
| 38 | 
            -
              name: childprocess
         | 
| 35 | 
            +
              name: archive-tar-minitar
         | 
| 39 36 | 
             
              prerelease: false
         | 
| 37 | 
            +
              type: :runtime
         | 
| 38 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 40 39 | 
             
              requirement: &id002 !ruby/object:Gem::Requirement 
         | 
| 41 40 | 
             
                none: false
         | 
| 42 41 | 
             
                requirements: 
         | 
| @@ -48,11 +47,11 @@ dependencies: | |
| 48 47 | 
             
                    - 3
         | 
| 49 48 | 
             
                    - 1
         | 
| 50 49 | 
             
                    version: 0.3.1
         | 
| 51 | 
            -
              type: :runtime
         | 
| 52 50 | 
             
              version_requirements: *id002
         | 
| 53 | 
            -
             | 
| 54 | 
            -
              name: erubis
         | 
| 51 | 
            +
              name: childprocess
         | 
| 55 52 | 
             
              prerelease: false
         | 
| 53 | 
            +
              type: :runtime
         | 
| 54 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 56 55 | 
             
              requirement: &id003 !ruby/object:Gem::Requirement 
         | 
| 57 56 | 
             
                none: false
         | 
| 58 57 | 
             
                requirements: 
         | 
| @@ -64,11 +63,11 @@ dependencies: | |
| 64 63 | 
             
                    - 7
         | 
| 65 64 | 
             
                    - 0
         | 
| 66 65 | 
             
                    version: 2.7.0
         | 
| 67 | 
            -
              type: :runtime
         | 
| 68 66 | 
             
              version_requirements: *id003
         | 
| 69 | 
            -
             | 
| 70 | 
            -
              name: i18n
         | 
| 67 | 
            +
              name: erubis
         | 
| 71 68 | 
             
              prerelease: false
         | 
| 69 | 
            +
              type: :runtime
         | 
| 70 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 72 71 | 
             
              requirement: &id004 !ruby/object:Gem::Requirement 
         | 
| 73 72 | 
             
                none: false
         | 
| 74 73 | 
             
                requirements: 
         | 
| @@ -80,11 +79,11 @@ dependencies: | |
| 80 79 | 
             
                    - 6
         | 
| 81 80 | 
             
                    - 0
         | 
| 82 81 | 
             
                    version: 0.6.0
         | 
| 83 | 
            -
              type: :runtime
         | 
| 84 82 | 
             
              version_requirements: *id004
         | 
| 85 | 
            -
             | 
| 86 | 
            -
              name: json
         | 
| 83 | 
            +
              name: i18n
         | 
| 87 84 | 
             
              prerelease: false
         | 
| 85 | 
            +
              type: :runtime
         | 
| 86 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 88 87 | 
             
              requirement: &id005 !ruby/object:Gem::Requirement 
         | 
| 89 88 | 
             
                none: false
         | 
| 90 89 | 
             
                requirements: 
         | 
| @@ -96,11 +95,11 @@ dependencies: | |
| 96 95 | 
             
                    - 5
         | 
| 97 96 | 
             
                    - 1
         | 
| 98 97 | 
             
                    version: 1.5.1
         | 
| 99 | 
            -
              type: :runtime
         | 
| 100 98 | 
             
              version_requirements: *id005
         | 
| 101 | 
            -
             | 
| 102 | 
            -
              name: log4r
         | 
| 99 | 
            +
              name: json
         | 
| 103 100 | 
             
              prerelease: false
         | 
| 101 | 
            +
              type: :runtime
         | 
| 102 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 104 103 | 
             
              requirement: &id006 !ruby/object:Gem::Requirement 
         | 
| 105 104 | 
             
                none: false
         | 
| 106 105 | 
             
                requirements: 
         | 
| @@ -112,11 +111,11 @@ dependencies: | |
| 112 111 | 
             
                    - 1
         | 
| 113 112 | 
             
                    - 9
         | 
| 114 113 | 
             
                    version: 1.1.9
         | 
| 115 | 
            -
              type: :runtime
         | 
| 116 114 | 
             
              version_requirements: *id006
         | 
| 117 | 
            -
             | 
| 118 | 
            -
              name: net-ssh
         | 
| 115 | 
            +
              name: log4r
         | 
| 119 116 | 
             
              prerelease: false
         | 
| 117 | 
            +
              type: :runtime
         | 
| 118 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 120 119 | 
             
              requirement: &id007 !ruby/object:Gem::Requirement 
         | 
| 121 120 | 
             
                none: false
         | 
| 122 121 | 
             
                requirements: 
         | 
| @@ -128,11 +127,11 @@ dependencies: | |
| 128 127 | 
             
                    - 2
         | 
| 129 128 | 
             
                    - 2
         | 
| 130 129 | 
             
                    version: 2.2.2
         | 
| 131 | 
            -
              type: :runtime
         | 
| 132 130 | 
             
              version_requirements: *id007
         | 
| 133 | 
            -
             | 
| 134 | 
            -
              name: net-scp
         | 
| 131 | 
            +
              name: net-ssh
         | 
| 135 132 | 
             
              prerelease: false
         | 
| 133 | 
            +
              type: :runtime
         | 
| 134 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 136 135 | 
             
              requirement: &id008 !ruby/object:Gem::Requirement 
         | 
| 137 136 | 
             
                none: false
         | 
| 138 137 | 
             
                requirements: 
         | 
| @@ -144,11 +143,11 @@ dependencies: | |
| 144 143 | 
             
                    - 0
         | 
| 145 144 | 
             
                    - 4
         | 
| 146 145 | 
             
                    version: 1.0.4
         | 
| 147 | 
            -
              type: :runtime
         | 
| 148 146 | 
             
              version_requirements: *id008
         | 
| 149 | 
            -
             | 
| 150 | 
            -
              name: rake
         | 
| 147 | 
            +
              name: net-scp
         | 
| 151 148 | 
             
              prerelease: false
         | 
| 149 | 
            +
              type: :runtime
         | 
| 150 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 152 151 | 
             
              requirement: &id009 !ruby/object:Gem::Requirement 
         | 
| 153 152 | 
             
                none: false
         | 
| 154 153 | 
             
                requirements: 
         | 
| @@ -158,11 +157,11 @@ dependencies: | |
| 158 157 | 
             
                    segments: 
         | 
| 159 158 | 
             
                    - 0
         | 
| 160 159 | 
             
                    version: "0"
         | 
| 161 | 
            -
              type: :development
         | 
| 162 160 | 
             
              version_requirements: *id009
         | 
| 163 | 
            -
             | 
| 164 | 
            -
              name: contest
         | 
| 161 | 
            +
              name: rake
         | 
| 165 162 | 
             
              prerelease: false
         | 
| 163 | 
            +
              type: :development
         | 
| 164 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 166 165 | 
             
              requirement: &id010 !ruby/object:Gem::Requirement 
         | 
| 167 166 | 
             
                none: false
         | 
| 168 167 | 
             
                requirements: 
         | 
| @@ -174,11 +173,11 @@ dependencies: | |
| 174 173 | 
             
                    - 1
         | 
| 175 174 | 
             
                    - 2
         | 
| 176 175 | 
             
                    version: 0.1.2
         | 
| 177 | 
            -
              type: :development
         | 
| 178 176 | 
             
              version_requirements: *id010
         | 
| 179 | 
            -
             | 
| 180 | 
            -
              name: minitest
         | 
| 177 | 
            +
              name: contest
         | 
| 181 178 | 
             
              prerelease: false
         | 
| 179 | 
            +
              type: :development
         | 
| 180 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 182 181 | 
             
              requirement: &id011 !ruby/object:Gem::Requirement 
         | 
| 183 182 | 
             
                none: false
         | 
| 184 183 | 
             
                requirements: 
         | 
| @@ -190,11 +189,11 @@ dependencies: | |
| 190 189 | 
             
                    - 5
         | 
| 191 190 | 
             
                    - 1
         | 
| 192 191 | 
             
                    version: 2.5.1
         | 
| 193 | 
            -
              type: :development
         | 
| 194 192 | 
             
              version_requirements: *id011
         | 
| 195 | 
            -
             | 
| 196 | 
            -
              name: mocha
         | 
| 193 | 
            +
              name: minitest
         | 
| 197 194 | 
             
              prerelease: false
         | 
| 195 | 
            +
              type: :development
         | 
| 196 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 198 197 | 
             
              requirement: &id012 !ruby/object:Gem::Requirement 
         | 
| 199 198 | 
             
                none: false
         | 
| 200 199 | 
             
                requirements: 
         | 
| @@ -204,11 +203,11 @@ dependencies: | |
| 204 203 | 
             
                    segments: 
         | 
| 205 204 | 
             
                    - 0
         | 
| 206 205 | 
             
                    version: "0"
         | 
| 207 | 
            -
              type: :development
         | 
| 208 206 | 
             
              version_requirements: *id012
         | 
| 209 | 
            -
             | 
| 210 | 
            -
              name: rspec-core
         | 
| 207 | 
            +
              name: mocha
         | 
| 211 208 | 
             
              prerelease: false
         | 
| 209 | 
            +
              type: :development
         | 
| 210 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 212 211 | 
             
              requirement: &id013 !ruby/object:Gem::Requirement 
         | 
| 213 212 | 
             
                none: false
         | 
| 214 213 | 
             
                requirements: 
         | 
| @@ -220,11 +219,11 @@ dependencies: | |
| 220 219 | 
             
                    - 8
         | 
| 221 220 | 
             
                    - 0
         | 
| 222 221 | 
             
                    version: 2.8.0
         | 
| 223 | 
            -
              type: :development
         | 
| 224 222 | 
             
              version_requirements: *id013
         | 
| 225 | 
            -
             | 
| 226 | 
            -
              name: rspec-expectations
         | 
| 223 | 
            +
              name: rspec-core
         | 
| 227 224 | 
             
              prerelease: false
         | 
| 225 | 
            +
              type: :development
         | 
| 226 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 228 227 | 
             
              requirement: &id014 !ruby/object:Gem::Requirement 
         | 
| 229 228 | 
             
                none: false
         | 
| 230 229 | 
             
                requirements: 
         | 
| @@ -236,11 +235,11 @@ dependencies: | |
| 236 235 | 
             
                    - 8
         | 
| 237 236 | 
             
                    - 0
         | 
| 238 237 | 
             
                    version: 2.8.0
         | 
| 239 | 
            -
              type: :development
         | 
| 240 238 | 
             
              version_requirements: *id014
         | 
| 241 | 
            -
             | 
| 242 | 
            -
              name: rspec-mocks
         | 
| 239 | 
            +
              name: rspec-expectations
         | 
| 243 240 | 
             
              prerelease: false
         | 
| 241 | 
            +
              type: :development
         | 
| 242 | 
            +
            - !ruby/object:Gem::Dependency 
         | 
| 244 243 | 
             
              requirement: &id015 !ruby/object:Gem::Requirement 
         | 
| 245 244 | 
             
                none: false
         | 
| 246 245 | 
             
                requirements: 
         | 
| @@ -252,8 +251,10 @@ dependencies: | |
| 252 251 | 
             
                    - 8
         | 
| 253 252 | 
             
                    - 0
         | 
| 254 253 | 
             
                    version: 2.8.0
         | 
| 255 | 
            -
              type: :development
         | 
| 256 254 | 
             
              version_requirements: *id015
         | 
| 255 | 
            +
              name: rspec-mocks
         | 
| 256 | 
            +
              prerelease: false
         | 
| 257 | 
            +
              type: :development
         | 
| 257 258 | 
             
            description: Vagrant is a tool for building and distributing virtualized development environments.
         | 
| 258 259 | 
             
            email: 
         | 
| 259 260 | 
             
            - mitchell.hashimoto@gmail.com
         | 
| @@ -265,23 +266,16 @@ extensions: [] | |
| 265 266 | 
             
            extra_rdoc_files: []
         | 
| 266 267 |  | 
| 267 268 | 
             
            files: 
         | 
| 268 | 
            -
            - .gitignore
         | 
| 269 | 
            -
            - .yardopts
         | 
| 270 | 
            -
            - CHANGELOG.md
         | 
| 271 | 
            -
            - Gemfile
         | 
| 272 | 
            -
            - LICENSE
         | 
| 273 | 
            -
            - README.md
         | 
| 274 | 
            -
            - Rakefile
         | 
| 275 269 | 
             
            - bin/vagrant
         | 
| 270 | 
            +
            - CHANGELOG.md
         | 
| 276 271 | 
             
            - config/default.rb
         | 
| 277 | 
            -
            - contrib/README.md
         | 
| 278 272 | 
             
            - contrib/emacs/vagrant.el
         | 
| 273 | 
            +
            - contrib/README.md
         | 
| 279 274 | 
             
            - contrib/vim/vagrantfile.vim
         | 
| 275 | 
            +
            - Gemfile
         | 
| 280 276 | 
             
            - keys/README.md
         | 
| 281 277 | 
             
            - keys/vagrant
         | 
| 282 278 | 
             
            - keys/vagrant.pub
         | 
| 283 | 
            -
            - lib/vagrant.rb
         | 
| 284 | 
            -
            - lib/vagrant/action.rb
         | 
| 285 279 | 
             
            - lib/vagrant/action/box/destroy.rb
         | 
| 286 280 | 
             
            - lib/vagrant/action/box/download.rb
         | 
| 287 281 | 
             
            - lib/vagrant/action/box/package.rb
         | 
| @@ -328,10 +322,10 @@ files: | |
| 328 322 | 
             
            - lib/vagrant/action/vm/share_folders.rb
         | 
| 329 323 | 
             
            - lib/vagrant/action/vm/suspend.rb
         | 
| 330 324 | 
             
            - lib/vagrant/action/warden.rb
         | 
| 325 | 
            +
            - lib/vagrant/action.rb
         | 
| 331 326 | 
             
            - lib/vagrant/box.rb
         | 
| 332 327 | 
             
            - lib/vagrant/box_collection.rb
         | 
| 333 328 | 
             
            - lib/vagrant/cli.rb
         | 
| 334 | 
            -
            - lib/vagrant/command.rb
         | 
| 335 329 | 
             
            - lib/vagrant/command/base.rb
         | 
| 336 330 | 
             
            - lib/vagrant/command/box.rb
         | 
| 337 331 | 
             
            - lib/vagrant/command/box_add.rb
         | 
| @@ -352,10 +346,10 @@ files: | |
| 352 346 | 
             
            - lib/vagrant/command/status.rb
         | 
| 353 347 | 
             
            - lib/vagrant/command/suspend.rb
         | 
| 354 348 | 
             
            - lib/vagrant/command/up.rb
         | 
| 355 | 
            -
            - lib/vagrant/ | 
| 349 | 
            +
            - lib/vagrant/command.rb
         | 
| 356 350 | 
             
            - lib/vagrant/communication/base.rb
         | 
| 357 351 | 
             
            - lib/vagrant/communication/ssh.rb
         | 
| 358 | 
            -
            - lib/vagrant/ | 
| 352 | 
            +
            - lib/vagrant/communication.rb
         | 
| 359 353 | 
             
            - lib/vagrant/config/base.rb
         | 
| 360 354 | 
             
            - lib/vagrant/config/container.rb
         | 
| 361 355 | 
             
            - lib/vagrant/config/error_recorder.rb
         | 
| @@ -365,38 +359,38 @@ files: | |
| 365 359 | 
             
            - lib/vagrant/config/ssh.rb
         | 
| 366 360 | 
             
            - lib/vagrant/config/top.rb
         | 
| 367 361 | 
             
            - lib/vagrant/config/vagrant.rb
         | 
| 368 | 
            -
            - lib/vagrant/config/vm.rb
         | 
| 369 362 | 
             
            - lib/vagrant/config/vm/provisioner.rb
         | 
| 370 363 | 
             
            - lib/vagrant/config/vm/sub_vm.rb
         | 
| 364 | 
            +
            - lib/vagrant/config/vm.rb
         | 
| 365 | 
            +
            - lib/vagrant/config.rb
         | 
| 371 366 | 
             
            - lib/vagrant/data_store.rb
         | 
| 372 | 
            -
            - lib/vagrant/downloaders.rb
         | 
| 373 367 | 
             
            - lib/vagrant/downloaders/base.rb
         | 
| 374 368 | 
             
            - lib/vagrant/downloaders/file.rb
         | 
| 375 369 | 
             
            - lib/vagrant/downloaders/http.rb
         | 
| 376 | 
            -
            - lib/vagrant/ | 
| 370 | 
            +
            - lib/vagrant/downloaders.rb
         | 
| 377 371 | 
             
            - lib/vagrant/driver/virtualbox.rb
         | 
| 378 372 | 
             
            - lib/vagrant/driver/virtualbox_4_0.rb
         | 
| 379 373 | 
             
            - lib/vagrant/driver/virtualbox_4_1.rb
         | 
| 380 374 | 
             
            - lib/vagrant/driver/virtualbox_4_2.rb
         | 
| 381 375 | 
             
            - lib/vagrant/driver/virtualbox_base.rb
         | 
| 376 | 
            +
            - lib/vagrant/driver.rb
         | 
| 382 377 | 
             
            - lib/vagrant/environment.rb
         | 
| 383 378 | 
             
            - lib/vagrant/errors.rb
         | 
| 384 | 
            -
            - lib/vagrant/guest.rb
         | 
| 385 379 | 
             
            - lib/vagrant/guest/arch.rb
         | 
| 386 380 | 
             
            - lib/vagrant/guest/base.rb
         | 
| 387 381 | 
             
            - lib/vagrant/guest/debian.rb
         | 
| 388 382 | 
             
            - lib/vagrant/guest/fedora.rb
         | 
| 389 383 | 
             
            - lib/vagrant/guest/freebsd.rb
         | 
| 390 384 | 
             
            - lib/vagrant/guest/gentoo.rb
         | 
| 391 | 
            -
            - lib/vagrant/guest/linux.rb
         | 
| 392 385 | 
             
            - lib/vagrant/guest/linux/config.rb
         | 
| 393 386 | 
             
            - lib/vagrant/guest/linux/error.rb
         | 
| 387 | 
            +
            - lib/vagrant/guest/linux.rb
         | 
| 394 388 | 
             
            - lib/vagrant/guest/openbsd.rb
         | 
| 395 389 | 
             
            - lib/vagrant/guest/redhat.rb
         | 
| 396 390 | 
             
            - lib/vagrant/guest/solaris.rb
         | 
| 397 391 | 
             
            - lib/vagrant/guest/suse.rb
         | 
| 398 392 | 
             
            - lib/vagrant/guest/ubuntu.rb
         | 
| 399 | 
            -
            - lib/vagrant/ | 
| 393 | 
            +
            - lib/vagrant/guest.rb
         | 
| 400 394 | 
             
            - lib/vagrant/hosts/arch.rb
         | 
| 401 395 | 
             
            - lib/vagrant/hosts/base.rb
         | 
| 402 396 | 
             
            - lib/vagrant/hosts/bsd.rb
         | 
| @@ -406,8 +400,8 @@ files: | |
| 406 400 | 
             
            - lib/vagrant/hosts/linux.rb
         | 
| 407 401 | 
             
            - lib/vagrant/hosts/opensuse.rb
         | 
| 408 402 | 
             
            - lib/vagrant/hosts/windows.rb
         | 
| 403 | 
            +
            - lib/vagrant/hosts.rb
         | 
| 409 404 | 
             
            - lib/vagrant/plugin.rb
         | 
| 410 | 
            -
            - lib/vagrant/provisioners.rb
         | 
| 411 405 | 
             
            - lib/vagrant/provisioners/base.rb
         | 
| 412 406 | 
             
            - lib/vagrant/provisioners/chef.rb
         | 
| 413 407 | 
             
            - lib/vagrant/provisioners/chef_client.rb
         | 
| @@ -415,11 +409,11 @@ files: | |
| 415 409 | 
             
            - lib/vagrant/provisioners/puppet.rb
         | 
| 416 410 | 
             
            - lib/vagrant/provisioners/puppet_server.rb
         | 
| 417 411 | 
             
            - lib/vagrant/provisioners/shell.rb
         | 
| 412 | 
            +
            - lib/vagrant/provisioners.rb
         | 
| 418 413 | 
             
            - lib/vagrant/registry.rb
         | 
| 419 414 | 
             
            - lib/vagrant/ssh.rb
         | 
| 420 415 | 
             
            - lib/vagrant/test_helpers.rb
         | 
| 421 416 | 
             
            - lib/vagrant/ui.rb
         | 
| 422 | 
            -
            - lib/vagrant/util.rb
         | 
| 423 417 | 
             
            - lib/vagrant/util/ansi_escape_code_remover.rb
         | 
| 424 418 | 
             
            - lib/vagrant/util/busy.rb
         | 
| 425 419 | 
             
            - lib/vagrant/util/counter.rb
         | 
| @@ -436,8 +430,13 @@ files: | |
| 436 430 | 
             
            - lib/vagrant/util/stacked_proc_runner.rb
         | 
| 437 431 | 
             
            - lib/vagrant/util/subprocess.rb
         | 
| 438 432 | 
             
            - lib/vagrant/util/template_renderer.rb
         | 
| 433 | 
            +
            - lib/vagrant/util.rb
         | 
| 439 434 | 
             
            - lib/vagrant/version.rb
         | 
| 440 435 | 
             
            - lib/vagrant/vm.rb
         | 
| 436 | 
            +
            - lib/vagrant.rb
         | 
| 437 | 
            +
            - LICENSE
         | 
| 438 | 
            +
            - Rakefile
         | 
| 439 | 
            +
            - README.md
         | 
| 441 440 | 
             
            - tasks/acceptance.rake
         | 
| 442 441 | 
             
            - tasks/bundler.rake
         | 
| 443 442 | 
             
            - tasks/test.rake
         | 
| @@ -476,12 +475,12 @@ files: | |
| 476 475 | 
             
            - test/acceptance/provisioning/shell_test.rb
         | 
| 477 476 | 
             
            - test/acceptance/resume_test.rb
         | 
| 478 477 | 
             
            - test/acceptance/shared_folders_test.rb
         | 
| 479 | 
            -
            - test/acceptance/skeletons/chef_solo_basic/README.md
         | 
| 480 478 | 
             
            - test/acceptance/skeletons/chef_solo_basic/cookbooks/basic/recipes/default.rb
         | 
| 481 | 
            -
            - test/acceptance/skeletons/ | 
| 479 | 
            +
            - test/acceptance/skeletons/chef_solo_basic/README.md
         | 
| 482 480 | 
             
            - test/acceptance/skeletons/chef_solo_json/cookbooks/basic/recipes/default.rb
         | 
| 483 | 
            -
            - test/acceptance/skeletons/ | 
| 481 | 
            +
            - test/acceptance/skeletons/chef_solo_json/README.md
         | 
| 484 482 | 
             
            - test/acceptance/skeletons/provisioner_multi/cookbooks/basic/recipes/default.rb
         | 
| 483 | 
            +
            - test/acceptance/skeletons/provisioner_multi/README.md
         | 
| 485 484 | 
             
            - test/acceptance/ssh_test.rb
         | 
| 486 485 | 
             
            - test/acceptance/support/config.rb
         | 
| 487 486 | 
             
            - test/acceptance/support/isolated_environment.rb
         | 
| @@ -498,7 +497,6 @@ files: | |
| 498 497 | 
             
            - test/acceptance/up_with_box_url.rb
         | 
| 499 498 | 
             
            - test/acceptance/vagrant_test.rb
         | 
| 500 499 | 
             
            - test/acceptance/version_test.rb
         | 
| 501 | 
            -
            - test/buildbot/README.md
         | 
| 502 500 | 
             
            - test/buildbot/buildbot_config/__init__.py
         | 
| 503 501 | 
             
            - test/buildbot/buildbot_config/config/__init__.py
         | 
| 504 502 | 
             
            - test/buildbot/buildbot_config/config/loader.py
         | 
| @@ -511,8 +509,8 @@ files: | |
| 511 509 | 
             
            - test/buildbot/buildbot_config/master/schedulers.py
         | 
| 512 510 | 
             
            - test/buildbot/buildbot_config/master/slaves.py
         | 
| 513 511 | 
             
            - test/buildbot/buildbot_config/master/status.py
         | 
| 514 | 
            -
            - test/buildbot/master/Makefile.sample
         | 
| 515 512 | 
             
            - test/buildbot/master/buildbot.tac
         | 
| 513 | 
            +
            - test/buildbot/master/Makefile.sample
         | 
| 516 514 | 
             
            - test/buildbot/master/master.cfg
         | 
| 517 515 | 
             
            - test/buildbot/master/public_html/bg_gradient.jpg
         | 
| 518 516 | 
             
            - test/buildbot/master/public_html/default.css
         | 
| @@ -552,6 +550,7 @@ files: | |
| 552 550 | 
             
            - test/buildbot/master/templates/macros/forms.html
         | 
| 553 551 | 
             
            - test/buildbot/master/templates/root.html
         | 
| 554 552 | 
             
            - test/buildbot/master/templates/waterfall.html
         | 
| 553 | 
            +
            - test/buildbot/README.md
         | 
| 555 554 | 
             
            - test/buildbot/requirements.txt
         | 
| 556 555 | 
             
            - test/buildbot/scripts/deploy.sh
         | 
| 557 556 | 
             
            - test/buildbot/scripts/setup.sh
         | 
| @@ -677,6 +676,9 @@ files: | |
| 677 676 | 
             
            - test/unit_legacy/vagrant/util/template_renderer_test.rb
         | 
| 678 677 | 
             
            - test/unit_legacy/vagrant/vm_test.rb
         | 
| 679 678 | 
             
            - vagrant.gemspec
         | 
| 679 | 
            +
            - .gitignore
         | 
| 680 | 
            +
            - .yardopts
         | 
| 681 | 
            +
            has_rdoc: true
         | 
| 680 682 | 
             
            homepage: http://vagrantup.com
         | 
| 681 683 | 
             
            licenses: []
         | 
| 682 684 |  | 
| @@ -708,7 +710,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 708 710 | 
             
            requirements: []
         | 
| 709 711 |  | 
| 710 712 | 
             
            rubyforge_project: vagrant
         | 
| 711 | 
            -
            rubygems_version: 1. | 
| 713 | 
            +
            rubygems_version: 1.6.2
         | 
| 712 714 | 
             
            signing_key: 
         | 
| 713 715 | 
             
            specification_version: 3
         | 
| 714 716 | 
             
            summary: Build and distribute virtualized development environments.
         |