Commit Graph

4879 Commits

Author SHA1 Message Date
Adrian Lopez 7f6702e71b In OS packages ruby2 comes embedded, but if you install vagrant from sources, you should execute vagrant with ruby2.
At least, with ruby 1.9.1 and using docker as a provisioner, it gives the error:

/var/lib/gems/1.9.1/gems/vagrant-1.4.1.dev/plugins/provisioners/docker/plugin.rb:13:in `require_relative': /var/lib/gems/1.9.1/gems/vagrant-1.4.1.dev/plugins/provisioners/docker/config.rb:23: syntax error, unexpected tPOW (SyntaxError)
      def run(name, **options)
2013-12-15 17:11:57 +01:00
Gilles Cornu d584a56ac2 Ansible Docs: Display multiline examples in block 2013-12-14 16:14:20 +01:00
Gilles Cornu edb59ebeff Update CHANGELOG [GH-2606] 2013-12-14 16:06:09 +01:00
Gilles Cornu 213534d185 Merge pull request #2606 from maspwr/ansible-groups
Add ability to use Ansible groups in generated inventory. Fixes #2551.
2013-12-14 07:03:22 -08:00
Mitchell Hashimoto acfb4cc37e Merge pull request #2655 from drpebcak/master
core: changed wording to reflect Issue #2632
2013-12-13 23:44:23 -08:00
Taylor Price 68408526c2 Changed wording to reflect Issue #2632 2013-12-13 23:40:40 -08:00
Mitchell Hashimoto 2c568a75f2 commands/ssh: use proper variable 2013-12-13 22:32:01 -08:00
Mitchell Hashimoto 2bebf188d6 hosts/bsd: check for exports file issues prior to exporting NFS 2013-12-13 22:14:13 -08:00
Mitchell Hashimoto c1141dded3 providers/virtualbox: don't clear /etc/exports on BSDs for NFS [GH-2645] 2013-12-13 22:03:14 -08:00
Mitchell Hashimoto 86f8ff8816 core: SSHRun uses new ShellQuote util 2013-12-13 21:18:12 -08:00
Mitchell Hashimoto 72398faeaf core: put shell quoting into its own util class, it is useful 2013-12-13 21:17:15 -08:00
Mitchell Hashimoto 902b769e6b core: -t/-T work for vagrant ssh -c [GH-2618] 2013-12-13 21:07:54 -08:00
Mitchell Hashimoto a55a53e6a4 core: execute SSH commands in context of login shell [GH-2636] 2013-12-13 21:02:00 -08:00
Mitchell Hashimoto 4bf1808fde guests/debian: fix dhcp assigned default to work 2013-12-13 20:48:54 -08:00
Mitchell Hashimoto f20c681081 Update CHANGELOG 2013-12-13 20:47:06 -08:00
Fabio Rehm fd71746eb9 Update CHANGELOG 2013-12-13 23:06:20 -02:00
Fabio Rehm 46ba43e6ac provisioners/docker: Display warning in case a version get specified on the Vagrantfile and the guest is a RedHat-ian guest [GH-2649] 2013-12-13 23:06:20 -02:00
Fabio Rehm 6f304d5e29 provisioners/docker: Move DockerConfigureVagrantUser capability up to Linux guests [GH-2649] 2013-12-13 23:06:20 -02:00
Fabio Rehm 5a842fc609 provisioners/docker: Check if epel-release is installed on RedHat-ian guests before attempting installation [GH-2649] 2013-12-13 23:06:20 -02:00
Fabio Rehm 2141e2e9e7 Merge pull request #2649 from tnaoto/plugin-provisioner-docker-redhat
Add plugin docker provisioner for redhat
2013-12-13 17:06:11 -08:00
Naoto TAKAHASHI 746d406558 add docker for redhat 2013-12-14 02:35:34 +09:00
Teemu Matilainen d321b9199e provisioners/chef: fix node/client deletion when node_name is not set [GH-2345]
V2 config uses `hostname` instead of `host_name`.
2013-12-13 00:51:22 -03:00
Fabio Rehm 7f624976f9 Update CHANGELOG 2013-12-12 23:37:49 -02:00
Fabio Rehm e70a6e2563 Merge pull request #2641 from arthurnn/docker_rename
Rename docker_client and docker_installer
2013-12-12 17:37:11 -08:00
Mitchell Hashimoto 8a0241f2b4 core: box removal of a V1 box works 2013-12-12 16:17:53 -08:00
Mitchell Hashimoto b3cbeddf3f website/docs: phrasal verbs [GH-2644] 2013-12-12 15:42:01 -08:00
Arthur Neves c57073da7b Rename docker_client and docker_installer
We can rename those classes and remove the docker_ prefix as they
already have a module namespace.
2013-12-12 14:59:03 -05:00
John Bellone 4194da19c6 [vagrant] Update Registry with #keys method.
This helper method to return the keys for the registry will give capability to eliminate some code. Example:

```ruby
keys = [] 
@subcommands.each { |k,v| keys << k }
keys.sort.each { |k| o.seperator "#{k}" }
```

Versus:

```ruby
@subcommands.keys.sort.each { |k| o.seperator "#{k}" }
```
2013-12-12 09:38:50 -05:00
Fabio Rehm 152c6b92ac Merge pull request #2635 from bbonamin/master
Fixes networking private network URL
2013-12-11 04:46:26 -08:00
Bruno Bonamin 6eaecf7229 Fixes networking private network URL 2013-12-11 09:20:13 -03:00
Teemu Matilainen 012f6d9067 Merge pull request #2631 from miketheman/fix_acceptance_path
fix path to acceptance test contexts in example
2013-12-11 04:06:07 -08:00
Mike Fiedler ab377560ed fix path to acceptance test contexts in example 2013-12-11 01:27:35 -05:00
Mitchell Hashimoto 306248db9c Merge pull request #2627 from scalp42/chef_delete
website/docs: mention chef.delete_node and chef.delete_client methods
2013-12-10 18:02:50 -08:00
Mitchell Hashimoto 70b662e307 Merge pull request #2628 from makern/ifdown-fix
guests/redhat: Don't error if ifdown fails [GH-2614]
2013-12-10 18:02:06 -08:00
Mitchell Hashimoto 8c2e314052 Merge pull request #2629 from lndbrg/patch-1
core: update is_port_open.rb comment
2013-12-10 18:01:05 -08:00
Olle Lundberg 0c853ccb3c Update is_port_open.rb 2013-12-10 21:23:11 +01:00
Markus Kern c8a09b344b guests/redhat: Don't error if ifdown fails [GH-2614] 2013-12-10 20:04:36 +00:00
Anthony Scalisi d086d6d775 mention chef.delete_node and chef.delete_client methods in the DOCS 2013-12-10 10:48:27 -08:00
Mitchell Hashimoto 05b2e03586 guests/redhat: don't ifdown non-existent interfaces [GH-2614] 2013-12-10 09:04:20 -08:00
Mitchell Hashimoto 4b191e1595 Update CHANGELOG 2013-12-10 08:54:54 -08:00
Mitchell Hashimoto ed4cfa913c Merge pull request #2620 from ShonM/master
guests/freebsd: Update FreeBSD configure_networks with less shell specifics
2013-12-10 08:53:34 -08:00
Mitchell Hashimoto 7956b299f4 Update CHANGELOG
/cc @phinze style :)
2013-12-10 08:52:13 -08:00
Christian G. Warden 93c739c47e website/docs: Fix example of v1 config option invalid in v2
Fix the name of the old v1 option, `config.vm.forward_port`, used as an example of an invalid option in v2.
2013-12-10 11:53:24 -03:00
Teemu Matilainen 0041b2ba50 website/docs: Links to new downloads page
Fixes #2623 and hashicorp/docs.vagrantup.com#45

[ci skip]
2013-12-10 11:22:18 -03:00
Paul Hinze d5eb82993c Update CHANGELOG 2013-12-09 21:15:14 -06:00
Paul Hinze e6d0db4c69 Merge pull request #2613 from phinze/2610-debian-hostname-trailing-dot
guests/{ubuntu,debian}: fix change_host_name for trailing dots [GH-2610]
2013-12-09 19:11:05 -08:00
Paul Hinze abe0731d2e guests/{ubuntu,debian}: fix change_host_name for trailing dots [GH-2610]
When `/etc/hosts` contained a FQDN with a trailing dot, the `\b` in the
sed expression would not match, since dot is not considered to be a word
character.

Fix this by regexp-escaping the hostname search, and matching the end of
the line on optional space followed by additional characters.

Also add some tests that extract the regexp used by sed and verify that
it does what we want. These will hopefully serve us in the future if we
ever need to test additional edge cases.
2013-12-09 18:56:45 -06:00
Shon M 3e1471fb53 Update FreeBSD configure_networks with less shell specifics 2013-12-09 17:27:54 -07:00
Jacques Fuentes 579cc8e558 Remove defunct @build_options reference 2013-12-09 18:36:57 -05:00
Mitchell Hashimoto ea46109440 Merge pull request #2616 from mwarkentin/patch-1
website/www: fix Downloads link spacing
2013-12-09 15:04:37 -08:00