Commit Graph

5365 Commits

Author SHA1 Message Date
Christian Berendt 7d38d78fee handle exception when removing a non existinga box version
When trying to remove a not existing version of an existing box an
exception is thrown. The exception should be handled and some message
(box version 0.1.2 not available) should be printed.

With this patch the exception is handled correctly by using a newly
introduced exception BoxRemoveVersionNotFound.

Example output:

You requested to remove the box 'berendt/alpine-2.7.5-amd64' with provider
'virtualbox' in version '0.0.2'. The box 'berendt/alpine-2.7.5-amd64'
exists but not in the specified version '0.0.2'.
Please double-check and try again.

The available versions for this box are: 0.1.0

Fixes issue #3344
2014-03-31 20:32:34 +02:00
Mitchell Hashimoto f7adeadf8d communicators/ssh: change wording on retry 2014-03-21 17:48:03 -07:00
Mitchell Hashimoto d4b3f226dd providers/virtualbox: fix missing interpolation [GH-3277] 2014-03-20 17:57:17 -07:00
Mitchell Hashimoto 9fc5540841 guests/debian: don't return from block [GH-3283] 2014-03-20 17:52:31 -07:00
Mitchell Hashimoto bfaa4c7c9c Update CHANGELOG 2014-03-20 17:51:04 -07:00
Mitchell Hashimoto 600d01d792 Merge pull request #3102 from sax/smartos
guests/smartos
2014-03-20 17:50:20 -07:00
Mitchell Hashimoto dd80c769ef Update CHANGELOG 2014-03-20 17:42:36 -07:00
Mitchell Hashimoto aaee1058e3 Merge pull request #3272 from pbitty/fix_provision_config
core: allow provisioner plugins to register without config
2014-03-20 17:42:12 -07:00
Mitchell Hashimoto 28c5a71023 Merge pull request #3281 from justincwatt/update-virtualbox-boxes-docs
website/docs: Update virtualbox boxes docs
2014-03-20 17:41:26 -07:00
Mitchell Hashimoto 0fd5460b31 Update CHANGELOG 2014-03-20 17:40:27 -07:00
Mitchell Hashimoto cceed1e59c Update CHANGELOG 2014-03-20 17:39:26 -07:00
Mitchell Hashimoto b08c404d0b Merge pull request #3282 from mivok/nfs_omnios
guests/omnios: mount_nfs_folder capability to omnios guests
2014-03-20 17:36:23 -07:00
Justin Watt d1f37b2078 Fix grammatical error 2014-03-20 14:08:03 -07:00
Mark Harrison 43f732b32d Add mount_nfs_folder capability to omnios guests
Refs issue #3280
2014-03-20 17:06:49 -04:00
Justin Watt 495098e920 Add instructions for installing guest additions via the command line 2014-03-20 14:01:03 -07:00
Justin Watt bee538ffaa dkms is required to build guest additions
see: http://askubuntu.com/questions/98416/error-kernel-headers-not-found-but-they-are-in-place
2014-03-20 13:45:36 -07:00
Paulo Bittencourt 1f694d4978 kernel/v2: allow provisioner plugins to register without config 2014-03-19 17:37:52 -04:00
Mitchell Hashimoto 30f6c7ba60 Merge pull request #3242 from uwej711/patch-1
synced_folders/smb work for non-english windows
2014-03-19 09:31:06 -07:00
Mitchell Hashimoto 1bb2f15ad0 Merge pull request #3251 from andyclarke/fix/master/smbpasswordquotes
synced_folders/smb: mount error with password containing symbols.
2014-03-19 09:29:53 -07:00
Andy Clarke 26e0c85488 Fix SMB shared folder mount error with password containing symbols. 2014-03-17 17:38:34 -04:00
Uwe Jäger 3dd03d7efc Make shared folder type smb work for non-english windows
the grant "Everyone,Full" does not work on localized versions of windows, in German it is "Jeder" in Spanish "Todos". Also the net share command returns localized texts, so the -Match does not work for non-english Windows. 

I could not test exactly that version, copied relevant bits from my modified lokal version.
2014-03-17 15:11:45 +01:00
Mitchell Hashimoto 8770f9d060 Merge pull request #3222 from rissem/master
website/docs: correct docs (precise32 -> hashicorp/precise32)
2014-03-14 14:25:49 -07:00
rissem d03fb932a1 correct docs (precise32 -> hashicorp/precise32) 2014-03-14 14:21:11 -07:00
Mitchell Hashimoto 846f942ff0 core: check for data_dir [GH-3208] 2014-03-14 14:04:00 -07:00
Mitchell Hashimoto b6cd952fc4 commands/status: target for machine readable [GH-3218] 2014-03-14 13:05:24 -07:00
Mitchell Hashimoto 862d9315ce synced_folders/smb: hash ID so it is short enough [GH-3219] 2014-03-14 13:03:11 -07:00
Mitchell Hashimoto d01b9ef1df Merge pull request #3210 from jyggen/patch-1
core: Fixed broken PowerShell execution
2014-03-14 08:34:34 -07:00
Mitchell Hashimoto 0c805de007 Merge pull request #3215 from fgrehm/transpec-unit
Transpec unit
2014-03-14 08:31:26 -07:00
Fabio Rehm 99547eef8f For some weird reason the changes introduced by transpec made this spec fail, this should fix it 2014-03-14 12:09:07 -03:00
Fabio Rehm 54656151cf Convert specs to RSpec 2.14.8 syntax with Transpec
This conversion is done by Transpec 1.10.2 with the following command:
    transpec test/unit/

* 507 conversions
    from: obj.should
      to: expect(obj).to

* 394 conversions
    from: == expected
      to: eq(expected)

* 260 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 85 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

* 25 conversions
    from: its(:attr) { }
      to: describe '#attr' do subject { super().attr }; it { } end

* 19 conversions
    from: obj.should_not
      to: expect(obj).not_to

* 7 conversions
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

* 3 conversions
    from: Klass.any_instance.should_receive(:message)
      to: expect_any_instance_of(Klass).to receive(:message)
2014-03-14 12:02:07 -03:00
Jonas Stendahl d7320399e2 Fixed broken PowerShell scripts execution [GH-3192] 2014-03-14 12:42:28 +01:00
Mitchell Hashimoto f0ee138e87 Update CHANGELOG 2014-03-13 14:19:02 -07:00
Mitchell Hashimoto 024056fc66 Set the Bundler UI only if we enable it [GH-3193] 2014-03-13 14:18:33 -07:00
Mitchell Hashimoto b3ad79e5d2 Up version for dev 2014-03-13 11:34:27 -07:00
Jack Pearkes 038e3b8258 website/www: update for deploy 2014-03-13 14:29:48 -04:00
Mitchell Hashimoto 6977e93ba9 v1.5.1 2014-03-13 09:49:39 -07:00
Mitchell Hashimoto ca00ad8257 guests/linux: one more time 2014-03-13 09:48:53 -07:00
Mitchell Hashimoto 3c02caf811 guests/linux: check for proper owner [GH-3186] 2014-03-13 09:48:22 -07:00
Mitchell Hashimoto 00d73eabda guests/linux: rsync only chown if invalid user/group [GH-3186] 2014-03-13 09:47:34 -07:00
Mitchell Hashimoto 1213b87679 core: vagrant help no longer loads Vagrantfile 2014-03-13 08:54:30 -07:00
Mitchell Hashimoto 513efa6739 core: Downloads with user/pass use curl -u flag [GH-3183] 2014-03-13 08:53:18 -07:00
Mitchell Hashimoto 012c28606f kernel/v2: validate forwarded ports [GH-3187] 2014-03-13 08:32:05 -07:00
Mitchell Hashimoto 03c15343e4 Merge pull request #3189 from mitchellh/docs-www-vagrant-cloud
website/docs: link to real vagrant cloud url
2014-03-13 08:25:21 -07:00
Jack Pearkes aacdd5b837 website/docs: link to real vagrant cloud url
This is mostly for cookies and google. If you're logged in to
www, you won't be logged in to apex, and visa versa. Also a Vagrant
Cloud bug but wanted to make it consistent on this end.
2014-03-13 09:59:39 -04:00
Eric Saxby f36d372b32 Resolve confusion around SmartOS rsync_pre
rsync should *always* be pre-installed in SmartOS (global and local zones), as
it's part of the kernel. Previous commits incorrectly attributed #rsync_install
to running rsync, rather than to installing the rsync command.
2014-03-12 22:35:32 -07:00
Mitchell Hashimoto 998b30985f Error message if tampering with plugins.json 2014-03-12 20:42:05 -07:00
Mitchell Hashimoto 8634cc309b core: error earlier if adding a path that doesn't exist 2014-03-12 20:33:12 -07:00
Mitchell Hashimoto b0f8d050f0 provisioners/salt: style nitpicks 2014-03-12 20:04:57 -07:00
Mitchell Hashimoto a8fa2d5ffe providers/virtualbox: import progress works on Windows 2014-03-12 20:02:05 -07:00
Mitchell Hashimoto 621369ebba core: Execute PowerShell scripts even with spaces in dir [GH-3100] 2014-03-12 19:49:45 -07:00