Brian Cain
af91b3bb2f
Add more information about Ruby trigger option
...
This commit provides a bit more context to using the new Ruby trigger
option.
2018-10-08 10:30:29 -07:00
Brian Cain
9ee153802a
Update CHANGELOG
2018-10-08 09:03:13 -07:00
Brian Cain
5daa25db80
Merge pull request #10267 from briancain/ruby-trigger-option
...
Fixes #9840 : Introduce `ruby` option for trigger
2018-10-08 09:02:17 -07:00
Brian Cain
f4d618eb58
Fixes #9840 : Introduce `ruby` option for trigger
...
This commit introduces a new option to the core trigger feature: `ruby`.
It can be defined to run ruby code when the trigger is configured to
fire. If you give the ruby block an env and machine argument, the
defined ruby code can use those variables internally.
2018-10-05 12:53:41 -07:00
Chris Roberts
88469d99f7
Only configure CheckpointType if available to be configured.
2018-10-04 15:24:05 -07:00
Chris Roberts
9c1ab2bd9f
Wrap automatic checkpoint enable to prevent inadvertent execution
2018-10-04 15:16:58 -07:00
Chris Roberts
904a712838
Provide correct RDP information within configuration information
...
Dynamically generate RDP information when applicable via provider
if supported. When no RDP port is provided ignore RDP in config
and omit from output.
2018-10-04 14:41:10 -07:00
Chris Roberts
a4231d630a
Update CHANGELOG
2018-10-04 13:39:24 -07:00
Chris Roberts
64987daf06
Merge pull request #10255 from chrisroberts/e-base-mac-vbox
...
Allow automatic mac address assignment with virtuabox provider
2018-10-04 13:38:08 -07:00
Chris Roberts
48d358adcb
Add winrm and upload commands
2018-10-04 13:26:41 -07:00
Brian Cain
c6a0793cc3
Merge pull request #10262 from jeff-jk/machine-settings-doc-update
...
Add :windows to config.vm.guest in machine settings doc
2018-10-03 16:46:47 -07:00
jeff-jk
141bcc03f5
:windows should be a symbol in machine_settings doc
...
This should just be a symbol :windows rather than a string ":windows"
2018-10-03 17:36:24 -06:00
jeff-jk
f1f4003fa9
Add :windows to config.vm.guest option
...
This commit updates the documentation so that it is more clear that Windows guests need to change the `config.vm.guest` option along with the `config.vm.communicator` option.
2018-10-03 15:47:25 -06:00
hoatle
cae2119c0f
@ #10258 | BUG: should not create /tmp/vagrant-ansible/inventory/vagrant_ansible_local_inventory/vagrant_ansible_local_inventory
2018-10-02 16:21:15 +07:00
Chris Roberts
648e0ddeaa
Explicitly define driver version used for tests
2018-10-01 11:51:14 -07:00
Brian Cain
6aedc66c1c
Update CHANEGLOG
2018-10-01 11:08:35 -07:00
Brian Cain
184d114374
Merge pull request #10242 from briancain/IGNORE-BOX-VAGRNANTFILE
...
Add config option `ignore_box_vagrantfile`
2018-10-01 11:07:28 -07:00
Chris Roberts
85dc0ebec9
Allow automatic mac address assignment with virtuabox provider
2018-10-01 11:05:28 -07:00
Chris Roberts
11b0d58fa0
Include communicator on call
2018-10-01 08:43:49 -07:00
Brian Cain
7798add296
Ensure log is only printed if box has Vagrantfile
2018-10-01 08:39:46 -07:00
Brian Cain
5520cf65d6
Add warning if Vagrantfile inside box is ignored
2018-09-28 16:44:50 -07:00
Brian Cain
2c7c38e3bb
Merge pull request #10250 from briancain/fix-old-box-url
...
Update old URL for box_url example
2018-09-28 08:42:20 -07:00
Brian Cain
4060722ea1
Update old URL for box_url example
2018-09-28 08:31:18 -07:00
Chris Roberts
1797798760
Fix module name
2018-09-28 07:59:39 -07:00
Chris Roberts
976149b9a4
Merge pull request #10247 from hashicorp/je.fix-download-tracking
...
Fix download tracking analytics events
2018-09-27 17:49:19 -07:00
Jeff Escalante
d4cf8b088e
fix download tracking analytics events
2018-09-27 20:00:06 -04:00
Chris Roberts
b5cb5f300b
Merge pull request #10243 from chrisroberts/e-vmware
...
Website updates for VMware
2018-09-26 14:02:01 -07:00
Chris Roberts
f7f83faacd
Website updates for VMware
2018-09-26 13:27:49 -07:00
Brian Cain
f6ae328346
Add test for ignore_box_vagrantfile option
2018-09-26 10:31:55 -07:00
Brian Cain
424f49b919
Simplify config option to ignore box vagrantfile
2018-09-26 10:31:41 -07:00
Alex Wu
a45e62cacd
fix the import issue when 'box_ignore_box_vagrantfile' is set, the box object should never be null.
2018-09-26 10:10:47 -07:00
Alex Wu
710b8da953
add config option 'box_ignore_box_vagrantfile' to ignore the Vagrantfile packaged in the box.
2018-09-26 10:10:47 -07:00
Alex Wu
282c7341c9
add a option to ignore the vagrantfile packaged with the box
2018-09-26 10:10:45 -07:00
Brian Cain
0699323da2
Update CHANGELOG
2018-09-25 13:54:24 -07:00
Brian Cain
5f56f0c8b1
Merge pull request #10223 from chrisroberts/e-rhel-nmsysd
...
Update restart logic in redhat change_host_name cap
2018-09-25 13:53:41 -07:00
Brian Cain
5d877c0e2a
Update CHANGELOG
2018-09-25 10:46:56 -07:00
Brian Cain
f6ac70e86e
Merge pull request #10232 from briancain/clean-halt-trigger
...
Add abort option to core triggers
2018-09-25 10:45:47 -07:00
Brian Cain
58ebd52f99
Add abort option to core triggers
...
This commit adds a new option `abort`, which when configured, will exit
the Vagrant process completely. If set to `true`, it will exit cleanly
with exit code 0. Otherwise, the exit code can be configured.
2018-09-25 09:40:36 -07:00
Brian Cain
36582ef1b1
Update CHANGELOG
2018-09-24 15:18:07 -07:00
Brian Cain
99be58c1e5
Merge pull request #10235 from chregu/fix-sudoers-osx
...
Fix the broken sudoers file for OS X
2018-09-24 15:14:34 -07:00
Christian Stocker
f44b98238c
Fix the pretty broken sudoers file for OS X
2018-09-24 23:39:01 +02:00
Chris Roberts
8fd05fe3c1
Use `command -v` for checks in all inspection helpers. Fix stubs in tests.
2018-09-21 09:19:40 -07:00
Chris Roberts
bc217d5e57
Update redhat change host name capability tests for systemd/NetworkManger updates
2018-09-20 16:46:45 -07:00
Chris Roberts
ff021fcab4
Update redhat change host name capability to support systemd
...
Update capability to use guest inspection module for determining
correct actions to execute. When systemd is in use restart the
correct active service, either NetworkManager or networkd. Default
to using the original service restart when systemd service is not
found.
2018-09-20 16:44:08 -07:00
Chris Roberts
fb5fc0e657
Update guest inspection utility module
...
Use sudo option for communicator test command instead of inline sudo
to properly use configured sudo value. Use command for checking
availability of hostnamectl. Use is-active for determining if a
service is being actively managed by systemd.
2018-09-20 16:42:39 -07:00
shotop
a12b09b098
add specs around network restart logic
2018-09-20 15:28:37 -07:00
Joe Doss
86ab4533b1
Fix the test to check for systemctl restart NetworkManager.service too.
2018-09-20 15:28:37 -07:00
Joe Doss
19aa9578c7
Exit 1 if we cannot set the hostname.
2018-09-20 15:28:37 -07:00
Joe Doss
c14a4a09f7
Switch if statements, check for systemctl, and switch to is-active.
2018-09-20 15:28:37 -07:00
Joe Doss
94954739b5
Simplified if statements.
2018-09-20 15:28:37 -07:00