Commit Graph

4790 Commits

Author SHA1 Message Date
James Shubin d4c76d1bcf Do not prepend default path because it can override modules.
It is common for Puppet to manage itself. If the puppet code you are
deploying pushes files to /etc/puppet/modules/, then prepending this
path can break deployment because it will override the module path if
the deployment code is changing. There is no good reason to include this
path. Puppet has built in defaults for this reason.
2013-12-17 14:29:54 -05:00
Charles Blaxland 7518bf94eb Force rm of chef config files #2669 2013-12-17 17:53:52 +11:00
John Bellone 8909018af6 Add unit tests for Registry#keys. 2013-12-16 18:16:19 -05:00
Mitchell Hashimoto e97467e675 Update CHANGELOG 2013-12-16 13:16:00 -08:00
Mitchell Hashimoto 042a8d6428 Merge pull request #2667 from gildegoma/bugfix_ansible_raw_args
provisioner/ansible: Fix a bug in `raw_arguments` option
2013-12-16 13:15:30 -08:00
Gilles Cornu e5f45e2b79 Ansible: Fix a bug in `raw_arguments` option
Without this change, it is not possible to pass more than one "raw"
argument, which was not the expected behavior. In addition to Array
format, String (for a single argument) is still accepted (for sake of
"backward compatibility" and ease of use).

Note: Due to low/expert usage of this option, I think that it is not
necessary to add more robust validation on this parameter (e.g. Array
of String type checking or argument syntax pattern matching). Use it at
your own risk ;-)
2013-12-16 21:20:10 +01:00
Mitchell Hashimoto 46c1760105 Merge pull request #2663 from acharlieh/el-refactor-change-host-name
guests/redhat: refactoring of EL Change Host Name
2013-12-16 10:20:21 -08:00
Charlie Huggard 0e2b7a7c0b Unit tests for ChangeHostName on Enterprise Linux 2013-12-16 01:57:11 -06:00
Charlie Huggard d26c1471d7 Refactor ChangeHostName for EL.
Based off of the Debian pattern. Need to add tests.

Related to #2653 and #2592
2013-12-16 01:52:39 -06:00
Mitchell Hashimoto da91572ce7 commands/init: error if can't write Vagrantfile [GH-2660] 2013-12-15 11:28:51 -08:00
Mitchell Hashimoto ae4cd33266 Merge pull request #2661 from adrianlzt/feature/readme_ruby2_needed
README: If using from sources, ruby2 is needed
2013-12-15 09:03:41 -08:00
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