Permalink
Commits on Jun 25, 2012
Commits on Jun 24, 2012
  1. Renamespace V1 plugin root to Vagrant::Plugin::V1::Plugin

    This is mostly a transparent change to end users, but I'm going to put
    all base classes for V1 into Vagrant::Plugin::V1.
    mitchellh committed Jun 24, 2012
  2. Use a temporary directory for the VAGRANT_CWD when running tests

    Tests before were picking up a Vagrantfile in the Vagrant source
    directory, which can cause some funny failures. This ensures that each
    test run will actually establish a new temporary CWD so that a
    Vagrantfile is hopefully never found.
    mitchellh committed Jun 24, 2012
  3. Simple logging text change

    mitchellh committed Jun 24, 2012
  4. Configuration loader can handle upgrading.

    The basic process for this is to:
    
    1. Load the configuration using the proper loader for that version. i.e.
       if you're loading V1 config, then use the V1 loader.
    2. If we just loaded a version that isn't current (imagine we're
       currently at V3), then we need to upgrade that config. So we first
       ask the V2 loader to upgrade the V1 config to V2, then we ask the V3
       loader to upgrade the V2 config to V3. We keep track of warnings and
       errors throughout this process.
    3. Finally, we have a current config, so we merge it into the in-process
       configuration that is being loaded.
    mitchellh committed Jun 24, 2012
Commits on Jun 23, 2012
  1. Use config finalize to move some version-specific logic to the version

    This moves out the concept of a "default VM" from the Environment class
    and makes it the responsibility of the V1 configuration that at least
    one VM is defined on it. This lets the configuration ultimately decide
    what a "default" implementation is.
    mitchellh committed Jun 23, 2012
  2. Configuration versions can finalize config after loading

    This is useful so that it can take a look at the final loaded
    configuration object and possibly make some tweaks to the configuration
    object. The use case this was built for was so that config V1 can verify
    that there is always at least a single VM defined as a sub-VM, the
    "default" VM.
    mitchellh committed Jun 23, 2012
  3. Config loader no longer assumes latest version for procs.

    Previously, all procs were assumed to just be the current version. This
    is certainly not going to be true always so now the version number of
    the configuration must be explicit if you're assigning a proc to the
    configuration loader.
    mitchellh committed Jun 23, 2012
  4. Separate out the versions the config loader knows as init params.

    This means that the Config::Loader now only knows how to load
    configuration for versions used to initialize the class. This lets
    things like the tests be completely isolated from what the actual
    configuration is for Vagrant. This will be immensely useful to verify
    that the loader functionality works for non-trivial bits (like
    upgrading) without depending on Vagrant's upgrading functionality.
    mitchellh committed Jun 23, 2012
  5. Use `next` instead of `return` for 1.8.x compatibility.

    Since we're not calling this lambda from inside a method, the `return`
    causes a LocalJumpError on 1.8.x. It appears this functionality works
    fine on 1.9.x but we'd like to support both. The correct behavior
    appears to use `next`.
    mitchellh committed Jun 23, 2012
  6. Don't use Pathname#each_child for 1.8.7 compat [GH-979]

    each_child is a 1.9.x feature. The implementation however is simple
    enough that I copied it over and just use the 1.8.7 compatible version.
    mitchellh committed Jun 23, 2012
Commits on Jun 20, 2012
  1. Merge pull request #987 from videlalvaro/patch-1

    Fixes minor typo
    mitchellh committed Jun 20, 2012
  2. Fixes minor typo

    videlalvaro committed Jun 20, 2012
Commits on Jun 15, 2012
Commits on Jun 12, 2012
  1. Merge pull request #973 from mattrobenolt/expand-dotpath

    Allow the .vagrant dotfile to be moved into a completely different directory tree
    mitchellh committed Jun 12, 2012
Commits on Jun 10, 2012
  1. Allow the .vagrant dotfile to be moved into a completely different di…

    …rectory tree
    
    I wanted to define my dotfile as: `config.vagrant.dotfile_name =
    "~/.vagrant-projectname"` and noticed that the full path wasn't
    expanded as expected.
    
    This patch allows the vagrant file to be placed anywhere on the
    filesystem.
    mattrobenolt committed Jun 10, 2012
Commits on Jun 8, 2012
  1. Update CHANGELOG

    mitchellh committed Jun 8, 2012
  2. Merge pull request #964 from jbraeuer/puppet-modulepath-fix

    Fix problem that Puppet module-paths were re-ordered by Vagrant.
    mitchellh committed Jun 8, 2012
  3. Merge pull request #968 from mxtthias/ssh-command-eof

    Explicitly tell ssh server we're done sending data
    mitchellh committed Jun 8, 2012
Commits on Jun 7, 2012
  1. Fix problem that Puppet module-paths were re-ordered by Vagrant.

    Puppet module-path were re-ordered by Vagrant due to the use of a
    hash. This could lead to unpredictable results.
    Jens Braeuer committed Jun 7, 2012
Commits on Jun 1, 2012
  1. Fix bug where SSH didn't work properly

    Forgot to set the `shell` variable properly
    mitchellh committed Jun 1, 2012
  2. Update CHANGELOG

    mitchellh committed Jun 1, 2012
  3. Require what to be notified for with block and Subprocess.execute

    There was an issue before where the stdin buffer would always have space
    so it would always yield that block and Ruby would spin at 100%. Now we
    require all callers to say what they want to listen for. This drops
    CPU down to almost nothing.
    
    See GH-832
    mitchellh committed Jun 1, 2012
  4. Easy commands now take a target VM name

    It is assumed to be the first arg, as long as the first arg doesn't
    begin as a flag "-foo"
    mitchellh committed Jun 1, 2012