Commit Graph

257 Commits

Author SHA1 Message Date
Seth Vargo 80de593f02
Fix security.html 2017-03-28 12:32:04 -04:00
Seth Vargo 041b0e705f
Cleanup inner VMware pages 2017-03-28 11:21:45 -04:00
Seth Vargo 0d7d65fdeb
Rebrand to match HashiCorp styles 2017-03-27 21:24:57 -04:00
Gilles Cornu 80d105cf8c
ansible_local: Add the :pip_args_only install mode
With the introduction of `pip_args` option, you can easily extend the
`:pip` installation mode behaviour. But some interesting/advanced usages
are still not possible because of the auto-generated parts ("ansible"
package, version selection, and the `--upgrade` flag).

By adding this "pip_args_only" install mode, it will be for instance
possible to:
- install unofficial releases, like release candidates published at
  https://releases.ansible.com/
- install more pip packages (e.g. via a `requirements.txt` file), with
  hash validation, etc.

Note that there is no config validation that requires `pip_args` option
to be defined when the :pip_args_only mode is selected. This would be
more elegant, and user friendly to raise a configuration error, but this
can wait. At least, running with an empty `pip_args` won't lead to any
command crash, since the rather dummy "pip install" shows an helper
notice and terminates with a zero (0) exit code.

This change is thought as a complement to the changes originally
proposed in pull request GH-8170.
2017-03-24 17:35:34 +01:00
Gilles Cornu b40d347944
ansible_local: Polish the new `pip_args` option
Ref GH-8170
2017-03-24 00:01:17 +01:00
James Carr 7e2e5654ed
ansible_local: Add `pip_args` option
With this new option, it is now possible to pass additional arguments to
pip command when the `install_mode` is "pip".

(@gildegoma reworded the original commit message of pull request GH-8170)
2017-03-24 00:01:14 +01:00
John Van Tuyl f807e5a8be The Hyper-V provider works fine in Windows 10
10 is the version most people will be using anyway.
2017-03-23 10:03:42 -07:00
Chris Roberts 256ce3b0d5 Merge pull request #8264 from hasyimibhar/command-validate
Add validate command
2017-03-23 09:52:12 -07:00
Bjorn Brala 0534ebf895 Merge remote-tracking branch 'mitchellh/master' into feature-hyperv-integration-services-fresh
# Conflicts:
#	plugins/providers/hyperv/action/import.rb
#	plugins/providers/hyperv/config.rb
#	website/source/docs/hyperv/configuration.html.md
2017-03-23 07:49:57 +01:00
Chris Roberts 1c1adcad9a Merge pull request #8325 from chrisroberts/enhancement/nested-hyperv
Nested Hyper-V
2017-03-17 14:19:58 -07:00
Bjorn Brala e2dd23b06c First implementation for Integration services for Hyper-V as discussed in https://github.com/mitchellh/vagrant/pull/6321 #6321 2017-03-15 22:12:19 +01:00
Chris Roberts 1b44cb1b13 Add documentation section on whitelisting in VMware boxes 2017-03-14 09:36:14 -07:00
Chris Roberts 311e74b179 Merge pull request #8308 from nathanielks/patch-1
Update snapshot.html.md
2017-03-13 09:48:16 -07:00
René Schodder (Herlitz) b321f40153 Fixed Typo in Fedora commands on /etc/sudoers 2017-03-13 13:05:11 +01:00
Jason Costello 56df61dce7 Fix heading text align scoping 2017-03-08 16:58:45 -08:00
Jason Costello c031da9577 Fix font scoping issue 2017-03-08 16:58:45 -08:00
Jason Costello 41223f9c18 Remove 'by hashicorp' 2017-03-08 16:58:00 -08:00
Jason Costello 6a0470fdaa Scope <p> color to avoid meganav conflict 2017-03-08 16:58:00 -08:00
Jason Costello 84dfbdfac6 Add mega nav 2017-03-08 16:57:52 -08:00
Chris Roberts dbf01572ef Merge pull request #8122 from chrisroberts/virtualbox/uid-gid
Use uid/gid from mount_options if provided for synced folders.
2017-03-06 14:21:11 -08:00
Patrick Lang 06a0866d72 Update hyperv config and OS version requirements 2017-03-02 14:06:49 -08:00
Chris Roberts b3a0dad200 Add linked_clone option to vmware docs 2017-02-28 09:50:23 -08:00
Chris Roberts 71b6ba5430 Add docs for ngrok share 2017-02-27 16:29:46 -08:00
Nathaniel 3fb434ac61 Update snapshot.html.md
Updated docs to specify the use of the `vm-name` when restoring a snapshot.
2017-02-27 10:19:55 -08:00
Chris Roberts 519ca07850 Merge pull request #8302 from jasoncostello/website-update-typography
Website typography update
2017-02-27 09:50:38 -08:00
Jason Costello 6e068b8c30 H1 tweak, unitless line-heights 2017-02-23 17:28:54 -08:00
Jason Costello 93209e11bf Mobile header fixes to fit logo and nav items 2017-02-23 17:11:41 -08:00
Jason Costello fb6c603c73 Typesey Docs headings in Open Sans 2017-02-23 16:49:44 -08:00
Jason Costello e8eb4626f6 Update logo 2017-02-23 16:37:57 -08:00
Jason Costello 8ca5424d1d Remove reference to museo 2017-02-23 16:06:14 -08:00
Jason Costello 981c6f06bb Visual design changes to header
The original text over the busy image is a bit hard to read. This
commit moves the tagline below and slightly reduces the size of the
image to make room
2017-02-23 15:43:03 -08:00
Jason Costello b7dbe249d5 Make font-weight-variables generic
The imported font weights for both Klavika and Open Sans are the same,
so the weights can be used to style both fonts
2017-02-23 15:41:28 -08:00
Chris Roberts 8530250f4a Merge pull request #8237 from soleuu/patch-1
port forwarding rule name
2017-02-23 12:32:33 -08:00
Jason Costello c5d3a9170f Increase default paragraph weight 300 => 400 2017-02-23 11:24:02 -08:00
Jason Costello 9a1a745c13 Update button, reduce letter-spacing 2017-02-23 11:18:26 -08:00
Jason Costello 8ef6f3e0ce update variables, tweaks 2017-02-23 11:18:04 -08:00
Jason Costello 9fde39c2e7 begin implementing Klavika and Open Sans 2017-02-23 11:02:48 -08:00
Chris Roberts fbe9e22a87 Merge pull request #8219 from kivoli/update-nfs-docu
Reflect NFS setup changes in documentation
2017-02-22 13:40:20 -08:00
Florian Breisch 84f49bf0ce Add hint for .verbose-attribute 2017-02-20 16:40:24 +01:00
Hasyimi Bahrudin 0044d560e0 Fix typo in docs 2017-02-08 03:26:37 +08:00
Hasyimi Bahrudin e0fb8b1fad Add documentation for validate command 2017-02-07 14:15:16 +08:00
Jack Pearkes fbad6c370a vmware/reseller: switch another email to sales at 2017-02-06 09:15:15 -08:00
Jack Pearkes 54979a527a vmware/reseller: switch to sales at hashicorp 2017-02-06 09:13:41 -08:00
Chris Roberts 255275061c Use Gem::Version class to ensure expected comparison results 2017-02-01 13:22:23 -08:00
Chris Roberts a8966187af Merge pull request #8176 from unclejack/fix_linked_clones_docs
website: make linked clones work w/ 1.8.0 & newer
2017-02-01 13:17:40 -08:00
Chris Roberts b72bb345d8 Merge pull request #8195 from chrisroberts/docs/pty-output
Add note on output behavior when pty enabled.
2017-02-01 13:10:35 -08:00
Chris Roberts 9cd636c4d9 Merge pull request #8100 from chrisroberts/docs/vagrant-salt
Add note about vagrant-salt plugin
2017-02-01 12:44:34 -08:00
Chris Roberts b63d6bac1a Merge pull request #8246 from rugo/master
[Docs] Added auto_correct to list of options
2017-02-01 11:19:16 -08:00
Chris Roberts 24e0c2a109 Merge pull request #8205 from kikitux/puppet-doc
add note that puppet need to be installed
2017-02-01 11:17:19 -08:00
rugo e94cba7445 Added auto_correct to list of options
Added auto_correct to list of options in Docs. See issue #8245.
2017-02-01 17:40:27 +01:00
soleuu 742a46c635 port forwarding rule name
To identify rules, we can name them using the id parameter.
It prevent from adding lots of comments in the Vagrant file and to have un-named rules in your VirtualBox port lists.

It is very important when you have a lot ogf rule to identify witch one you want to edit.

For example:
config.vm.network "forwarded_port", guest: 80  , host: 8080 , id:"http-proxy"
2017-01-30 12:03:32 +01:00
Ryon Coleman 64a8c365e3 Add Google Tag Manager #GTM-NR2SD7C 2017-01-27 15:00:54 -05:00
Leonhard Preis 19780b6342 Reflect NFS setup changes in documentation
Fixes sudoers file for NFS synched folders outdated #8218
2017-01-20 10:19:11 +01:00
Alvaro Miranda Aguilera 560ed2bfee add note that puppet need to be installed 2017-01-15 07:38:43 +01:00
Chris Roberts 64d49451ab Add note on output behavior when pty enabled. 2017-01-12 13:34:40 -08:00
unclejack 877e7e29b1 website: make linked clones work w/ 1.8.0 & newer
The previous code only worked on Vagrant 1.8.x, but not on 1.9.x or
newer.
2017-01-06 16:09:48 +02:00
Chris Roberts 159fca9d13 Merge pull request #8109 from kenorb/patch-2
Add missing config.ssh.keep_alive docs [GH-516]
2017-01-05 15:23:57 -08:00
Chris Roberts 5b3ecda5ba Merge pull request #8143 from danielmenezesbr/danielmenezesbr-patch-doc-vagrant
Debug Documentation - &> is not valid on Windows
2017-01-05 15:10:33 -08:00
Chris Roberts c11534e13c Merge pull request #8102 from mwrock/winrmv2
Refactor winrm communicator to use latest winrm gems and v2 api
2017-01-05 10:48:44 -08:00
Chris Roberts 734b196d05 Merge pull request #8146 from ctranstrum/patch-1
Fix typo.
2017-01-05 10:42:12 -08:00
Gilles Cornu 9493901e0c
provisioners/ansible: Add example of `host_vars` values that include quotes
Motivated by the support effort on GH-8158 ;-)
2016-12-28 23:23:43 +01:00
ctranstrum 52f45f27c4 Fix typo.
Looks like there was a typo. Fixed.
2016-12-21 15:08:57 -07:00
danielmenezesbr f66dd98d56 &> is not valid on windows
The command "vagrant up --debug &> vagrant.log" is not valid on Windows.
On Windows, you need to do: vagrant up --debug > vagrant.log 2>&1
2016-12-20 17:01:08 -02:00
Chris Roberts 9f393fc1e0 Use uid/gid from mount_options if provided for synced folders.
This also extracts the gid/uid detection and upstart actions into
reusable module to provide consistent behavior.
2016-12-14 12:12:17 -08:00
Rafal 25a1e79e27 Add missing config.ssh.keep_alive docs [GH-516] 2016-12-11 13:33:45 +00:00
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
Kevin Yarmak 008bafeab1 Update security.html.erb
Fixing grammar
2016-11-30 11:11:11 -08: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
Seth Vargo cff330f056
Capital C 2016-10-29 16:50:00 -04:00
Seth Vargo 32784082f9
Add security page 2016-10-29 16:42:22 -04: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
Seth Vargo ed09558fd7
Fix website descriptions 2016-10-21 21:38:53 -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