Commit Graph

11532 Commits

Author SHA1 Message Date
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
Joe Doss 80006251f4 Add in logic to restart NetworkManager if it is enabled. 2018-09-20 15:28:36 -07:00
Brian Cain 7402823ad0
Merge pull request #10222 from zwass/patch-1
Update Docker containerization docs
2018-09-20 14:30:18 -07:00
Zachary Wasserman 4a0628afbd
same for mac, linux and windows 2018-09-20 17:11:56 -04:00
Zachary Wasserman 995c7933b3
Update Docker containerization docs
The docs indicate that most systems must use a VM for containerization. This is no longer the case as Docker For Mac now uses HyperKit.

See https://docs.docker.com/v17.12/docker-for-mac/docker-toolbox/
2018-09-20 13:17:58 -04:00
Brian Cain 97d343b0ab
Update CHANGELOG 2018-09-20 09:20:08 -07:00
Brian Cain f3dcb7655b
Update CHANGELOG 2018-09-20 09:19:18 -07:00
Brian Cain a4d5ee6ac1
Merge pull request #10215 from briancain/FIX-SALT-PILLAR
Salt pillar configuration on Windows guests
2018-09-20 09:17:32 -07:00
Brian Cain 3b7e37a2ed
Merge pull request #10221 from briancain/DOCKER-REPO-GIT
Docker provider build from repo
2018-09-20 09:16:22 -07:00
Brian Cain d471932a4e
Update website about required docker params 2018-09-19 10:54:14 -07:00
Brian Cain 4612619dc4
Fixup docker config update 2018-09-19 10:52:59 -07:00
Brian Cain 29128e73b9
Remove old changelog addition 2018-09-19 10:52:42 -07:00
Brian Cain aecfc45eab
Add note about required docker config options 2018-09-19 10:38:40 -07:00
Oleksiy Protas 166fe374b6
More explicit logging and 'dockerfile' option support 2018-09-19 10:25:37 -07:00
Oleksiy Protas cbc69f5158
Build from git operation for docker 2018-09-19 10:24:09 -07:00
Oleksiy Protas de6a1794c7
Config, validation and test 2018-09-19 10:24:09 -07:00
Oleksiy Protas 8d1b5fc1c9
Docu changes for building Docker images from git 2018-09-19 10:24:05 -07:00
Brian Cain 7c7a2ed465
Update CHANGELOG 2018-09-19 09:04:39 -07:00
Brian Cain c3c7ad4ea2
Merge pull request #10218 from briancain/fix-env-vars-puppet-windows
Fixes #8315: Properly set env variables for puppet provisioner
2018-09-19 09:04:01 -07:00
Brian Cain b19e891bab
Update CHANGELOG 2018-09-19 09:02:50 -07:00
Brian Cain 5834b1ca70
Merge pull request #10219 from briancain/SMB-PASSWORD-CHARS
Allow special characters in SMB password field
2018-09-19 09:02:08 -07:00
Brian Cain 3ed4ab7022
Update CHANGELOG 2018-09-19 09:01:44 -07:00
Brian Cain b580268730
Merge pull request #10220 from briancain/FIX-PATH-WARNING-WINDOWS
Ensure file paths are identical when checking for cwd
2018-09-19 09:01:09 -07:00
Brian Cain dac78eb626
Add test for identical file paths 2018-09-18 14:15:34 -07:00
slackfan 59ecf95b0d
Remove unnessary import
Signed-off-by: Alexander Fischer <github@ordnungsdienst.org>
2018-09-18 13:56:18 -07:00
slackfan e547b26309
Don't compare paths by String
The implemented String comparison is misleading on Windows as it does not consider that paths on Windows are case insensitive

Signed-off-by: Alexander Fischer <github@ordnungsdienst.org>
2018-09-18 13:56:17 -07:00
Brian Cain 5ebb548be9
Add test for SMB mount_shared_folder function
This commit ensures that the command that adds the smb username and
password properly quotes the password given by the user.
2018-09-18 13:38:57 -07:00
John Rizzo b7d702ab5f
Update mount_shared_folder.rb
This change allows special characters in the password such as ) which will cause cmdkey to fail without the quotes.
2018-09-18 13:34:32 -07:00
Brian Cain 06b3268b6f
Fixes #8315: Properly set env variables for puppet provisioner
Prior to this commit, the puppet provisioner would not properly set its
environment variables, if any were configured in the Vagrantfile. This
commit separates those properly with semicolons when calling out to
puppet apply.
2018-09-18 10:09:01 -07:00
Brian Cain 96a00ad692
Include test for get_pillar salt function 2018-09-17 14:32:17 -07:00
mtkennerly 38175f93c6
Specify Salt pillar dependency on PowerShell 3.0 due to --% syntax. 2018-09-17 14:20:34 -07:00
mtkennerly 5c50c50d73
Fix #8328: Use special quote and backslash formatting for Windows when setting Salt pillar. 2018-09-17 14:20:31 -07:00
Brian Cain 89a21f0f47
Update CHANGELOG 2018-09-17 11:48:11 -07:00
Brian Cain 31689b6032
Merge pull request #9054 from tom-mi/master
Add completion for snapshot names for vagrant snapshot restore|delete
2018-09-17 11:47:32 -07:00
Brian Cain 07a2bc4d1d
Update CHANGELOG 2018-09-17 11:27:37 -07:00
Brian Cain 9ad04ada6c
Merge pull request #9431 from blueyed/options-without-leading-space
salt: remove leading space with bootstrap_options
2018-09-17 11:26:54 -07:00