Commit Graph

12522 Commits

Author SHA1 Message Date
Brian Cain 39ea1af5ab
Merge pull request #11183 from briancain/fixup/include-errors-in-checksum-util
Fixes #11179: Ensure Vagrant::Errors are loaded in file_checksum util
2019-11-12 09:06:49 -08:00
Brian Cain a8b99f422b
Merge pull request #10991 from dcermak/bump_rspec_its
Bump rspec-its dependency
2019-11-12 09:03:24 -08:00
Chris Roberts 063dea5699
Merge pull request #11190 from chrisroberts/e-i18n-constraints
Update i18n dependency constraints
2019-11-12 09:01:35 -08:00
Jeff Bonhag 0015a8c4c6 Update CHANGELOG 2019-11-12 11:44:15 -05:00
Jeff Bonhag a39a7ae794
Fixes #10741: Check if update is available locally (#11188)
This commit checks the local box collection to see if the latest box
update has already been downloaded.  If it has, Vagrant will display the
destroy/recreate message instead of the "run vagrant update" message.
2019-11-12 11:41:10 -05:00
Chris Roberts 687c601755 Update i18n dependency constraints
Loosen dependency constraints on the i18n library to allow
versions under 2.0.
2019-11-12 08:08:32 -08:00
Chris Roberts 2eaa6e9be1
Merge pull request #11185 from rjspiker/rj.font-smooth
website - add -moz-osx-font-smoothing for smooth firefox osx fonts
2019-11-11 17:00:43 -08:00
Brian Cain 474a2e3279
Update CHANGELOG 2019-11-11 15:35:38 -08:00
Brian Cain ce20b70073
Merge pull request #11126 from chrisroberts/f-newline-output
Update UI to properly retain newlines when adding prefix
2019-11-11 15:34:50 -08:00
Brian Cain 823c499dfb
Merge pull request #10969 from olleolleolle/patch-1
gemspec: drop rubyforge_project, it is EOL
2019-11-11 15:34:07 -08:00
Brian Cain 361736579c
Update CHANGELOG 2019-11-07 13:22:27 -08:00
Brian Cain 509812b8e6
Merge pull request #11175 from briancain/fixup/show-machine-name-in-hostname-validation
Fixes #11173: Show guest name in hostname error message
2019-11-07 13:21:42 -08:00
Brian Cain 1ec5e4c396
Merge pull request #11169 from briancain/fixup/website-getting-started-typo
Fixes #11168: Fix Ubuntu version in getting started guide
2019-11-07 13:20:52 -08:00
RJ Spiker 26b6f61682 website - add -moz-osx-font-smoothing for smooth firefox osx fonts 2019-11-07 13:10:59 -07:00
Brian Cain 145f04893c
Fixes #11137: Fixup how cloud publish handles its arguments
Prior to this commit, if a user didn't supply a box file on disk or a
box url, Vagrant would crash and display a stacktrace with an invalid
file. This commit fixes that by adding some extra handling around the
arguments supplied to the publish command.
2019-11-07 10:19:52 -08:00
Brian Cain 44c6f655be
Fixes #11179: Ensure Vagrant::Errors are loaded in file_checksum util
Prior to this commit, the file_checksum class used the `Vagrant::Errors`
class as if it were apart of the Vagrant module. However, since the
file_checksum class is an interface and not part of the Vagrant module,
it doesn't have access to that Error class like other Vagrant modules.
This commit fixes that by ensuring the `"vagrant/errors"` class is
loaded, and that the proper namespace is used.
2019-11-07 09:22:17 -08:00
Brian Cain 72496d5f5d
Fixes #8058: Improve wording for config.ssh.insert_key docs 2019-11-06 16:55:04 -08:00
Jeff Bonhag 7560c7fdef Update CHANGELOG 2019-11-06 16:22:17 -05:00
Jeff Bonhag 8a69c1205c
Fixes #10170: Check for modinfo in /sbin (#11178)
Check for modinfo in /sbin if it doesn't appear on the PATH.

If it's not found on the PATH or in /sbin, the command will default back to modinfo so the user sees the error message about adding it to their PATH.
2019-11-06 16:10:24 -05:00
Chris Roberts 89e0522659
Merge pull request #11167 from rjspiker/rj.fonts
website - font and brand updates
2019-11-06 09:56:32 -08:00
Brian Cain e2adefe4c7
Update CHANGELOG 2019-11-05 09:31:17 -08:00
Brian Cain d4f83ca4a3
Merge pull request #11170 from moench-tegeder/suse_hostname_vs_getent
explicitly test the hostname we'll be setting
2019-11-05 09:30:28 -08:00
RJ Spiker 3d48faa1b4 feedback updates and some style cleanup 2019-11-04 13:59:59 -07:00
Brian Cain 0aaa2cc147
Fixes #11173: Show guest name in hostname erorr message
This commit adds the machine guest name in the hostname validation error
message so that it's easier to see which guest in a Vagrantfile has the
validation error.
2019-11-04 08:41:51 -08:00
Brian Cain f30b136c57
Merge pull request #11151 from dcermak/fix_exception_in_docker_test
Catch NetworkNoInterfaces error in docker prepare_networks_test
2019-11-01 10:58:52 -07:00
Sam Mesterton-Gibbons e4ab40393e Don't prompt for input when installing Ansible
Sets `DEBIAN_FRONTEND=noninteractive` and tells `dpkg` to take the old
version of config files when installing Ansible, to prevent hangs
waiting for user input.

Fixes #10914
2019-11-01 17:17:03 +00:00
Dan Čermák fe4743a22b
Mock call to PrepareNetworks.list_interfaces in docker prepare_networks_test
The test "generates a network name and configuration" calls at the end
`process_public_network()`, which can return an empty list if the currently
executing machine has no usable network interfaces (this is typically the case
for workers that build rpm packages in OBS or Koji). This results in an
exception of type Errors::NetworkNoInterfaces to be thrown and causing this test
to fail.

This commit adds a mock of the PrepareNetworks.list_interfaces call that returns
a single entry with just the required defaults.
2019-11-01 17:36:31 +01:00
Brian Cain d27d7d5a2a
Update CHANGELOG 2019-11-01 08:14:23 -07:00
Brian Cain 4b1297b5d3
Merge pull request #11152 from briancain/fixup/command-snapshot-save-all-vms
Fixes #11139: Skip machines that haven't been created for snapshot save
2019-11-01 08:13:31 -07:00
Brian Cain 811231bf92
Fixes #11168: Fix Ubuntu version in getting started guide 2019-11-01 07:46:47 -07:00
Christoph Moench-Tegeder 6f6e58f4ae explicitly test the hostname we'll be setting
getent queries the system resolver for the hostname - but it's not
the resolver we're interested in. In fact, the hostname-to-be-set
may already exist in DNS (becuase DNS really is a nifty thing and
can do a lot of things which are not that possible with /etc/hosts
alone), in which case getent will "not fail" and vagrant will believe
the hostname had already been set.
Instead, query hostnamectl for the "static" hostname - that's the
one we will be setting, so we're ok IFF hostnamectl returns exactly
what we would be setting.
2019-11-01 15:41:04 +01:00
Brian Cain d70e3eb828
Merge pull request #11164 from slavrd/u/docs-intro-prov
update getting started guide - provision
2019-10-31 10:33:50 -07:00
Slav Donchev 42482849ec add example html for the user to create 2019-10-31 09:14:32 +02:00
RJ Spiker 0f7b250e81 website - font and brand updates 2019-10-30 16:26:38 -06:00
Slav Donchev 8130314741 example provision script copies default web site 2019-10-28 13:25:45 +02:00
Brian Cain 4735699bc8
Merge pull request #11155 from briancain/fixup/mockup-nfsd-call-bsd-nfs
Ensure nfsd call is mocked up in BSD NFS test
2019-10-25 09:22:51 -07:00
Brian Cain ce033454ca
Ensure nfsd call is mocked up in BSD NFS test 2019-10-25 09:02:30 -07:00
Brian Cain f998e535ce
Fixes #11139: Skip machines that haven't been created for snapshot save
This commit fixes the original #11027 fix, which assumed that the
hyper-v provider just wasn't properly getting a VM id when it listed
snapshots. In reality, it was just that if you invoke the
`with_target_vm` method with no arguments, it runs on the entire environment.
This meant that the capability snapshot_list attempted to be invoked on
machines that didn't exist yet, which is the original cause for why the
list_snapshot method did not recieve a vm ID. This commit fixes that by
simply skipping the machine if it does not yet exist.
2019-10-24 13:33:25 -07:00
Brian Cain f6503462f6
Merge pull request #11141 from Jonfor/patch-1
Update CHANGELOG.md
2019-10-21 08:50:28 -07:00
Jonathan Forscher 8def8a794f
Update CHANGELOG.md
Fix speling error in release notes.
2019-10-21 11:38:33 -04:00
Chris Roberts 318dca294a Ensure empty message values are properly formatted 2019-10-15 08:54:24 -07:00
Chris Roberts 783f5fc65d Update UI to properly retain newlines when adding prefix
When using a Prefixed UI instance prevent new line characters from
being removed when adding prefix formatting to output messages.

Fixes #11044
2019-10-14 16:56:40 -07:00
Chris Roberts d2914a85ee Update website download version 2.2.6 2019-10-14 12:35:50 -07:00
Chris Roberts 5aeda42902 Update version and changelog for new development 2019-10-14 09:40:05 -07:00
Chris Roberts f58b97b0fe Release v2.2.6 2019-10-14 09:38:13 -07:00
Brian Cain 9fa3301a0c
Merge pull request #11117 from sk1u/add-ansible-limit-note
docs: Add clarification about ansible.limit in static inventory usecase
2019-10-11 10:12:36 -07:00
Michael C 670cadae9f docs: Add clarification about ansible.limit in static inventory usecase 2019-10-11 08:57:20 +02:00
Brian Cain 0f9a5bacb3
Update CHANGELOG 2019-10-10 13:18:17 -07:00
Brian Cain 33a53d0c4e
Merge pull request #11116 from briancain/DOCKER-LIST-INTERFACES
Only return interfaces where addr is not nil
2019-10-10 13:17:41 -07:00
Brian Cain 7c93151f67
Add test for listing interfaces with docker networks 2019-10-10 11:38:57 -07:00