Commit Graph

178 Commits

Author SHA1 Message Date
Matt Wrock 725824e1dd refactor winrm communicator to use latest winrm gems and v2 api
Signed-off-by: Matt Wrock <matt@mattwrock.com>
2016-12-11 00:52:00 -08:00
Chris Roberts 6b2db8cf2a Add note about vagrant-salt plugin 2016-12-08 13:33:03 -08:00
Bjorn Brala 833a7fdb3e Update documentation to mention packaging Hyper-V boxes. 2016-12-08 21:21:55 +01:00
Chris Roberts 054d7f80ba Merge pull request #8071 from vaddina/patch-2
fix reload command in docs
2016-12-05 09:17:06 -08:00
Keviv 36bdde9f3c fix reload command in docs
shouldn't it be `reload` instead of `provision` ? :-/
2016-12-01 20:43:42 +01:00
Keviv 4c07d2f4fd deleted redundant and erroneous text
There were two sections for `Plugin Repair` but the last one's content was erroneous (contained `Plugin Update` docs).
2016-12-01 20:17:27 +01:00
Chris Roberts 82859ee286 Update plugin docs. Remove bundler instructions from source install instructions. 2016-11-22 16:49:45 -08:00
Chris Roberts dbf603b136 Merge pull request #8009 from afeld/patch-1
link to tip section about looping over VM definitions
2016-11-22 08:33:11 -08:00
Chris Roberts 1b4e56aa90 Merge pull request #7896 from npwalker/patch-1
Update snapshot save documentation
2016-11-22 08:32:12 -08:00
Jessica Brown 8ad7d8e3d5 Vagrant: adding more to privisioner line. 2016-11-21 19:26:10 +01:00
Jessica Brown 482380e46b Vagrant: Modifying CLI Documentation. 2016-11-21 18:13:52 +01:00
Aidan Feldman 38479a3541 link to tip section about looping over VM definitions
Users learning about multi-machine definitions will likely be interested in the linked tip...this connects the two pages.
2016-11-16 02:23:19 -05:00
Gilles Cornu 8caed8ea16 Merge pull request #7918 from mitchellh/gildegoma/fix-7195
Add `config_file` option to both Ansible provisioners
2016-11-15 08:29:30 +01:00
Chris Roberts de4612a549 Merge pull request #7879 from ivuk/fix-typo
Fix a typo in configuration.html.md
2016-11-14 14:14:35 -08:00
Chris Roberts 39e91ce32e Merge pull request #7897 from nobozo/patch-1
Update common-issues.html.md
2016-11-14 14:13:37 -08:00
Chris Roberts 0f720a4386 Merge pull request #7985 from chrisroberts/shell-provisioner/checksum
Add md5 and sha1 checksum support to Downloader.
2016-11-14 13:19:22 -08:00
Chris Roberts 2dcb47410f Merge pull request #7976 from chrisroberts/ssh/shell-compat
Allow custom generation of environment variable exports
2016-11-09 16:14:33 -08:00
Chris Roberts da45ca707c Add md5 and sha1 checksum support to Downloader.
Allows checksum validation on downloaded files via Util::Downloader
using MD5 and/or SHA1 checksums. This also integrates checksum validation
support with the shell provisioner for downloaded remote files.
2016-11-09 16:05:39 -08:00
Björn Brala da93fd3551 Add prune command to documentation 2016-11-09 09:24:59 +01:00
Chris Roberts dfc5e0d9a0 communicator/ssh: Allow custom generation of environment variable exports 2016-11-08 09:50:39 -08:00
Chris Roberts 05963159a8 Merge pull request #7931 from chrisroberts/puppet/env-vars
Puppet environment variables
2016-10-28 12:46:44 -07:00
Chris Roberts 4595082a23 Include hash data types within puppet apply documentation 2016-10-27 15:15:03 -07:00
Chris Roberts 36d0722366 Merge pull request #7719 from dragon788/patch-1
Corrected typo, added a couple examples.
2016-10-26 10:25:04 -07:00
Azul a4408037ba add support for environment variables on a puppet apply run 2016-10-26 09:36:34 -07:00
Chris Roberts 3ee2bca793 Merge pull request #7907 from chrisroberts/salt-config/defaults
provisioners/salt: Synchronize config defaults with documentation
2016-10-24 07:07:41 -07:00
Gilles Cornu a842abbc38
provisioners/ansible(both): Add config_file option
With this new option defined, the `ansible-galaxy` and
`ansible-playbook` commands generated by the Ansible provisioners will
be executed with the ANSIBLE_CONFIG environment variable set
accordingly.

Resolve GH-7195

This commit also fix the following open issues:
- Implement the pending RSpec examples about path existence checks
  performed by the ansible (remote) provisioner.
- In verbose mode, the ansible remote provisioner now correctly displays
  the Ansible Galaxy parameters ("role_file" and "roles_path") with
  single quotes (which is safer for potential copy-paste usage).

Additional Notes:
- Test coverage for `ansible_local` provisioner is still not
  implemented. See GH-6633.
- Test coverage for galaxy from host is not implemented yet (due to
  general issue with mocking both command executions, see
  https://github.com/mitchellh/vagrant/pull/6529#r45278451
2016-10-22 01:09:12 +02:00
Gilles Cornu 9d95eb821c
provisioners/ansible: Minor documentation improvements
- Try to make more visible the options shared by both provisioners
- Update some internal links to directly reach the mentioned option

[ci skip]
2016-10-22 01:05:50 +02:00
Gilles Cornu 35f7c2c4c9
provisioners/ansible: Fix raw_arguments documentation
Precise valid and invalid syntax for `raw_arguments` array values,
especially for the `ansible` remote provisioner.

Close GH-7890

[ci skip]
2016-10-22 01:00:57 +02:00
Gilles Cornu 80fb6be61f
docs/ansible: Fix small issues
- fix alpha-order listing of the shared options ansible_common.html.md
- fix two wrong indentations in ansible_intro.html.md

[ci skip]
2016-10-17 21:14:50 +02:00
Chris Roberts fa2a9105f0 provisioners/salt: Synchronize config defaults with documentation 2016-10-17 10:11:39 -07:00
Jon Forrest 734fa7bbbb Update common-issues.html.md 2016-10-13 14:46:43 -07:00
Nick Walker 1d401ebc95 Update snapshot save documentation
Prior to this commit, the snapshot save command did not have the vm_name as part of the command.  

After this commit, the snapshot save command docs match the CLI --help.
2016-10-13 13:31:16 -07:00
Daniel Gonzalez 79a3cb8a14 Add unit test and documentation for playbook_command option 2016-10-10 16:56:36 +02:00
Igor Vuk c12101b2f8 Fix a typo in configuration.html.md 2016-10-08 18:37:43 +02:00
Chris Roberts 79771ff58a Merge pull request #7758 from rquadling/patch-1
Add note about using a separate file for sudoers
2016-09-28 06:07:57 -07:00
Richard Quadling 5286410e52 Update nfs.html.md 2016-09-16 00:21:02 +01:00
Emmanuel Obidiegwu ad4820484b Update providers.html.md 2016-09-07 09:45:14 +01:00
Richard Quadling c7a1c681d0 Add note about using a separate file for sudoers 2016-08-26 14:26:40 +01:00
Chris Roberts 9c299a2a35 Merge pull request #7724 from dragon788/patch-2
Updated comments to match example
2016-08-19 10:48:03 -07:00
Chris Roberts bbac718925 Add NFSv4 warning and information 2016-08-19 09:33:36 -07:00
dragon788 c75372d0ea Updated comments to match example 2016-08-16 12:32:22 -05:00
dragon788 977630c7de Corrected typo, added a couple examples. 2016-08-15 16:45:35 -05:00
Zack Train cb70749bd8 redux of pr 7398 for ssh-agent key fix 2016-08-11 11:48:10 -07:00
Seth Vargo f511282d01
Update docs on vbox version
Fixes GH-7620
2016-07-22 13:40:19 -04:00
Seth Vargo cf1b18d6b2
Move wiki information to source 2016-06-20 08:20:53 -04:00
Seth Vargo 3f27af7e95
core: Provide a way to globally disable box update checking
This adds a new environmental variable `VAGRANT_BOX_UPDATE_CHECK_DISABLE`,
which instructs Vagrant to not check for box updates when running
regular Vagrant commands. This behaves the same as the existing
`config.vm.box_update_check` configuration option, but can be set
globally. Vagrantfile-supplied options will take precedence.

Fixes GH-7479
2016-06-18 14:46:46 -04:00
Sean Chittenden 5c1ec1c8b7
Flesh out the list of base box guides in the documentation. 2016-06-12 22:50:35 -07:00
Gilles Cornu 06a12097b1 provisioners/ansible(both): fix docs indentation
Bullet Lists are no longer correclty grouped (after the introduction of
the new layout). This is kind of workaround to keep each sub-paragraphs
of a list item well aligned.
2016-06-08 23:53:58 +02:00
Gilles Cornu bb9dba56ac provisioners/ansible_local: add "pip" install_mode
These changes have been validated against the following guest systems:
- Debian 7 and 8
- Ubuntu 12.04, 14.04 and 16.04
- Fedora 21 and 23
- CentOS 7
- OracleLinux 7
- Scientific Linux 7

At the moment, the pip setup (via get-pip.py script) is not working for
RHEL6-like systems (CentOS 6.6, OracleLinux 6.5, Scientific Linux 6),
because Python 2.6 has been deprecated and is no longer supported by
Python core team. I consider this limitation with low priority in
Vagrant context.

The `:pip` install_mode is currently not implemented for the following
platforms:
- OpenSUSE
- ArchLinux
- FreeBSD

Known Issue: By using get-pip.py script, any previous pip installation
will be most probably overrided. This could be an issue for Python
developers who would prefer to keep their base box setup untouched. In
future iteration, it could be possible to choose to reinstall/upgrade
pip or not. issue for Python developers who would prefer to keep their
base box setup untouched. In future iteration, it could be possible to
choose to reinstall/upgrade pip or not.

Resolve GH-6654

Resolve GH-7167 as the `version` option is now considered to select the
version of Ansible to be installed.
2016-06-08 23:53:58 +02:00
Ján Dzurek 8985605e35 Ansible Local docs typo fix 2016-06-07 15:18:23 +02:00
Seth Vargo 0ec0420d6b Update docs 2016-06-06 19:21:58 -04:00
David Siefert 39a2f04a9e Document how to specify explicit version of box
I needed this....
2016-06-06 18:15:29 -05:00
Seth Vargo 57455b8e86
Update systemctl no-pager on website 2016-06-06 19:14:13 -04:00
Dan Falcone 219007c6e6 provisioners/ansible: Fix documentation typo 2016-06-01 20:01:10 -04:00
Seth Vargo 3fa30a71b0
provisioners/salt: Doc - fix typo 2016-06-01 08:31:31 -04:00
Seth Vargo 228abf27a6
provisioner/salt: fix orchestrations documentation
Fixes GH-7209
2016-05-31 22:06:57 -04:00
Seth Vargo cfac24779c
provider/docker: Separate -i and -t flags for exec 2016-05-31 20:05:27 -04:00
Seth Vargo bf96b3348b
provider/docker: Add docker-exec command
This adds a new core command, `docker-exec`, which allows the user to
exec into an already-running container.

- Fixes #6566
- Fixes #5193
- Fixes #4904
- Fixes #4057
- Fixes #4179
- Fixes #4903
2016-05-31 20:05:26 -04:00
Seth Vargo 0216a09bf2
Document VAGRANT_NO_PARALLEL
Fixes GH-6014
2016-05-30 17:28:23 -04:00
Seth Vargo b95e5d80f5
Allow users to force color
Fixes GH-5390
2016-05-30 15:56:09 -04:00
Seth Vargo bba1cbc72f
Add --box-version to `vagrant init`
This also adds a test suite for that particular command, updates the
documentation, and adds some examples.

Fixes GH-5004
2016-05-30 15:33:58 -04:00
Seth Vargo d44fcf2d52
Allow customization of keys_only & paranoid SSH
This adds two new SSH configuration options:

- `keys_only`
- `paranoid`

These values were previously hard-coded, but can now be user-specified.

Fixes GH-4275
2016-05-29 18:03:03 -04:00
Seth Vargo 9b30557716 Merge pull request #7009 from daks/patch-1
puppet_apply doc: small typo fix
2016-05-29 01:22:15 -04:00
Seth Vargo 62a407771f
Style 2016-05-29 01:13:13 -04:00
Seth Vargo f03904f4d0 Merge pull request #7179 from c0state/master
Add section to NFS sync folder docs for non-standard system utility locations
2016-05-29 01:12:13 -04:00
Kammy ce33b3d114
update cmd format 2016-05-29 01:06:30 -04:00
Seth Vargo 981b2a807d
Formatting 2016-05-29 00:55:04 -04:00
Seth Vargo 34777fb575 Merge pull request #7308 from davidsiefert/patch-1
Adding example of using the preserve_order flag
2016-05-29 00:54:09 -04:00
Seth Vargo 8c11b537ba
Allow Mac/Windows users to use Docker native 2016-05-27 17:36:07 -04:00
Seth Vargo f313c89d74 Merge pull request #7059 from markpeek/markpeek-no-provision-on-resume
Do not ignore the sentinal file when running resume
2016-05-27 17:07:41 -04:00
Seth Vargo 2a02ceb870
Bump box resume delay to 24h
This commit bumps the box resume delay time to 24h and makes it a
constant because I had a bugger of a time actually finding this in the
code :frowny:.

Fixes GH-7272
2016-05-27 15:18:50 -04:00
kcvajgf 368db4e933 Add documentation for synced_folder's 'id' argument 2016-05-27 20:43:01 +08:00
Dana Merrick f7fa88fe8b Fixing second paragraph indentation and link. 2016-05-26 11:32:21 -07:00
Lyndsey M c6bfb19e24 Fix typo in list of action hooks
Fixes misspelled word in `machine_action_up` description: 'caled' to 'called'
2016-05-23 19:12:58 -04:00
annag 87fd8beef8 Update up.html.md
s/created and interacting with/created and interacted with/
for grammatical correctness (parallel construction).
2016-05-20 18:58:43 -07:00
Seth Vargo 938f8f384d Merge pull request #7110 from jtopper/hyperv_snapshots
Add snapshot support to Hyper-V provider
2016-05-16 12:06:51 -04:00
Seth Vargo e3c327b977
Fix typo
Fixes GH-7315
2016-05-14 11:28:36 -04:00
Jon Topper 82438da8a7 Add docs detailing the rollback limitations. 2016-05-13 17:28:33 +01:00
David Siefert 3706eef791 Adding example of using the preserve_order flag
I couldn't really understand how to use this feature.... I might be dumb, didn't rtfm, I dunno.  Here is a PR anyway to help clarify by example.
2016-05-11 16:58:01 -05:00
Rob Eden d3fc42c0b2 Fixes incorrect preposition 2016-05-04 14:11:31 -04:00
Rob Eden b1e8506ab0 Replaces Bundler details with Wiki link 2016-05-04 14:08:35 -04:00
Rob Eden eed574b311 Adds instructions concerning Bundler versions
Because Vagrant requires certain versions of Bundler in order to work properly, the correct version of Bundler must be installed manually.  I gathered this information from a couple of sources.

It's handy to have this information in this specific guide :)
2016-05-03 18:06:18 -04:00
Gilles Cornu cdafc63a61 Docs: Fix statements about the ansible.cfg lookup
Related to GH-7195

[ci skip]
2016-04-24 20:27:23 +02:00
Gilles Cornu cf908d35e0 provisioners/ansible_local: Run galaxy from `provisioning_path` directory
Since it is now possible to specify some Galaxy settings in an
`ansible.cfg` file, it makes sense to run `ansible-galaxy` from the
same working directory as `ansible-playbook` execution does.

See http://docs.ansible.com/ansible/intro_configuration.html#galaxy-settings
2016-04-24 00:26:59 +02:00
Nicholas Byfleet cdb62d7977 Fixed typo: incorrect key name for environment_path option. 2016-04-18 16:16:57 +12:00
Seth Vargo 6c01aaf6ab Merge pull request #7090 from mac2000/master
hyperv differencing disk
2016-04-17 23:14:29 +05:30
Seth Vargo 4157082bf3 Add more examples of installing local plugins 2016-04-08 10:38:25 -04:00
AdamGelder 39794c6938 Updated configuration.html.md Typo 2016-04-07 09:37:20 +01:00
Seth Vargo 0344de7282 Add a section on accessing finalized config 2016-04-06 08:10:41 -04:00
John McCabe c5159e178c fix path in OSX vagrant uninstallation steps 2016-04-05 11:52:09 +01:00
Adam Coddington c0ddf346c8 Minor grammar/spelling error in Environment Variables. 2016-04-04 17:55:59 -07:00
ondine 8de78f5c5f Exit the SSH session before vagrant destroy
How to exit the session: http://superuser.com/questions/704032/how-to-exit-ssh-of-vagrant-in-terminal
2016-03-31 11:36:16 -07:00
c0state eeaacbe82d Add section to NFS sync folder documentation for setting sudoers file
entries to not require password prompt in the case of non standard
system utility locations
2016-03-26 23:56:46 -04:00
Rick van de Loo eb9ec2cc7d fix dead link in plugins/providers documentation 2016-03-21 12:04:56 +01:00
Seth Vargo cf925813a0 Update docs about security for share 2016-03-17 18:11:50 -04:00
Jack Pearkes 1f88a97373 Merge pull request #7123 from mitchellh/vagrant-and-atlas
website: add a page to send folks to get to a signup link for atlas
2016-03-08 11:05:21 -08:00
Jack Pearkes 295e396292 website: catch more atlas.hashicorp.com and fix enterprise spelling 2016-03-08 10:57:35 -08:00
Jack Pearkes 16ef95e829 website: add a page to send folks to get to a signup link for atlas 2016-03-08 10:53:51 -08:00
Rafal 1b35ba99f6 Corrected binary logic description.
As per http://stackoverflow.com/q/28651275/55075 thread, this seems to be confusing.

> CRLFs are changed to LFs if this is set to true.
2016-03-08 15:52:20 +00:00
Jon Topper ee8361dea1 Update website docs for #6879 2016-03-06 16:14:14 +00:00