Commit Graph

5622 Commits

Author SHA1 Message Date
odigity 91af6a7b81 added docs for 'file' provisioner 2014-02-25 11:33:08 -05:00
Mitchell Hashimoto 1ed3be138e core: add a test for last PR 2014-02-25 07:27:13 -08:00
Mitchell Hashimoto d7e61a19f2 Merge pull request #3020 from lheinlen-os/nil_machine_id
core: do not to_s the machine id if it is nil
2014-02-25 07:24:55 -08:00
Gilles Cornu 49b5b6515d Ansible Docs: Tip about wrong remote user
Hint motivated by misleading situations reported in #2710.
2014-02-25 06:59:39 +01:00
Gilles Cornu 84eb0d972c Ansible Docs: Tip to ship a local `ansible.cfg`
Hint motivated by misleading situations reported in #2302.
2014-02-25 06:57:10 +01:00
Lucas Heinlen e530108b6a Do not to_s the machine id if it is nil
When destroying a machine, the machine id is set to nil, the to_s causes it to be set to empty string.  This can cause inconsistent behavior in anything (such as plugins) that tests the machine id.
2014-02-24 15:43:58 -05:00
Mitchell Hashimoto 12c740898c provisioners/puppet: append module path (default) [GH-2677] 2014-02-24 08:09:24 -08:00
Mitchell Hashimoto 32c45aa70b Revert "Merge pull request #2677 from purpleidea/fix_puppet_apply"
This reverts commit 9ac4ec85dd, reversing
changes made to 8dbad22d72.
2014-02-24 08:07:57 -08:00
Gilles Cornu f83f863d4d website/docs: Update Ansible URLs 2014-02-24 17:02:39 +01:00
Mitchell Hashimoto 6c5179602c provisioners/salt: error if minion_config missing [GH-2893] 2014-02-24 07:58:12 -08:00
Gilles Cornu 1cd2fe56a0 ansible: generate inventory in .vagrant/... 2014-02-24 16:52:38 +01:00
Mitchell Hashimoto 7abcea35b8 hosts/linux: escape regular expression for prune NFS exports [GH-2934] 2014-02-24 07:51:06 -08:00
Gilles Cornu d5055c6252 provisioners/ansible: improve `inventory_path` doc
Related to discussion held in #3004.
2014-02-24 16:47:10 +01:00
Mitchell Hashimoto ac9e6b2078 core: error-exit machine readable output type for errors [GH-2999] 2014-02-23 22:40:45 -08:00
Mitchell Hashimoto 34c000419f Fix failing tests 2014-02-23 22:33:04 -08:00
Mitchell Hashimoto 67a0d3d5f1 communicators/ssh: rescue/show correct error messages 2014-02-23 22:31:37 -08:00
Mitchell Hashimoto 4c070a04d2 core: if can't communicate, force halt right away 2014-02-23 22:25:59 -08:00
Mitchell Hashimoto 8bb0094113 Avoid locking in trap context 2014-02-23 22:22:18 -08:00
Mitchell Hashimoto 3324756e12 providers/virtualbox: don't log in trap context 2014-02-23 22:09:15 -08:00
Mitchell Hashimoto 698e892eac website/docs: update docs for auto_config [GH-3015] 2014-02-23 22:01:54 -08:00
Mitchell Hashimoto a667893cbf provisioners/shell: error if invalid encoding [GH-3000] 2014-02-23 21:50:53 -08:00
Mitchell Hashimoto 095f6d63c5 Update CHANGELOG 2014-02-23 21:26:27 -08:00
Mitchell Hashimoto 5ebe007ddc Merge pull request #3005 from ajw0100/fix-salt-options-error
provisioners/salt: Fix "options are only allowed before install arguments" error.
2014-02-23 21:25:42 -08:00
Mitchell Hashimoto 399a3e48da core: provisioner sentinel should check machine ID 2014-02-23 21:23:31 -08:00
Teemu Matilainen 2aa3a8bcde website/docs: sync Chef option documentation
[ci skip]
2014-02-22 00:59:14 -03:00
Teemu Matilainen be4c633a5a Update CHANGELOG 2014-02-21 23:52:22 -03:00
Jon Topper 7b30e557cd hosts/bsd: sort NFS exports to avoid false validation errors [GH-2927]
With a synced folder configuration like so:

 synced_folder ".", "/vagrant", :nfs => true
 synced_folder "#{ENV['HOME']}/mirror", "/mirror", :nfs => true
 synced_folder ENV['HOME'], "/home/#{ENV['USER']}", :nfs => true

on OSX, vagrant writes two overlapping exports to /etc/exports
which then fail the export check.

Iterating through the list of folders lexically builds a correct, single
exports entry.

Signed-off-by: Teemu Matilainen <teemu.matilainen@iki.fi>
2014-02-21 23:43:11 -03:00
Teemu Matilainen 7d90191212 provisioners/chef: DRY up `environment` and `node_name` configuration 2014-02-21 23:28:46 -03:00
Teemu Matilainen 116e7aac16 Update CHANGELOG 2014-02-21 23:10:24 -03:00
Teemu Matilainen 24f7d7b9eb Merge pull request #2975 from shanegibbs/chef-solo-role-path
Add support for multiple role paths in chef-solo >= 11.8.0
2014-02-21 23:58:10 -02:00
Teemu Matilainen fe1f7bf149 provisioners/chef: Fix loading of the custom configure file [GH-876] 2014-02-20 15:16:23 -03:00
A.J. Welch 9f0efc19a9 Fix "options are only allowed before install arguments" error.
This reverts feb748f488 and 7cd7077467. `bootstrap_options` is
meant for flag options such as `-D`. This is demonstrated in the
example Vagrantfile from the original plugin:
github.com/saltstack/salty-vagrant/blob/develop/example/complete/Vagrantfile
Flag options must be appended to the options string before install
args such as `install_type` and `install_args`.
2014-02-19 20:24:05 -08:00
Mitchell Hashimoto 5289261cc0 Merge pull request #3003 from pearkes/blog-letter-spacing
website/www: make the blog more readble by tightening the letter spacing
2014-02-19 13:19:11 -08:00
Mitchell Hashimoto 0105f20e0f website/www: modify the blog post slightly for better formatting 2014-02-19 13:13:34 -08:00
Jack Pearkes 41341e123d website/www: make the blog more readble by tightening the letter spacing 2014-02-19 14:23:41 -05:00
Mitchell Hashimoto f7629bb029 website/www: feature preview boxes 2.0 2014-02-19 08:46:46 -08:00
Teemu Matilainen 653a492f31 Update CHANGLEOG
[ci skip]
2014-02-18 23:56:39 -03:00
Teemu Matilainen 807c879ac8 Merge pull request #2845 from tmatilai/chef_data_bag_secret
provisioners/chef: DRY and unify encrypted data bag secret handling
2014-02-19 00:54:57 -02:00
Teemu Matilainen b66283c4a4 website/docs: fix typo [GH-2998]
Fixes #2998
2014-02-18 22:59:44 -03:00
Mitchell Hashimoto 0e3b3d654d Depend on ChildProcess 0.5.0, fix bugs 2014-02-18 11:15:19 -08:00
Mitchell Hashimoto 75dcc828ad kernel/v2: fix error where options could be not hash 2014-02-18 10:41:14 -08:00
Mitchell Hashimoto 8159f248a7 Merge pull request #2996 from pearkes/website-rss-absolute
website/www: use absolute links in the feed
2014-02-18 10:17:08 -08:00
Gilles Cornu 74c4ae06c1 Ansible Docs: Tip about Parallel Multi-Machine 2014-02-17 22:36:46 +01:00
Gilles Cornu 17a4d75fd5 Ansible: Try to document the limit breaking change 2014-02-17 22:34:38 +01:00
Jack Pearkes 91db388748 website/www: use absolute links in the feed
Some feed readers, like FeedBurner[1] don't support content
that uses relative links. This just makes them absolute so they
will work everywhere.

[1]: https://support.google.com/feedburner/answer/79018?hl=en
2014-02-17 14:37:51 -05:00
Teemu Matilainen eea9c07029 provisioners/chef: set `encrypted_data_bag_secret` to `nil` if it's not uploaded
/cc @shanegibbs

Fixes #2984
2014-02-16 18:14:56 -03:00
Gilles Cornu 709f3f4e6f provisioners/ansible: Change --limit behaviours
- The implicit default limit is always set
- ansible.limit as an empty string won't disable the default limit, but
  will be passed as "--limit=" argument and ansible-playbook will return
  an error (provided host list is empty)
2014-02-16 11:39:15 +01:00
Gilles Cornu c2663f5d30 provisioners/ansible: Fix Group Management
- Support arbitrary depth of "groups of groups of ... groups"
- Skip ':vars' suffix, but allow group names with ':' (yes, Ansible
  accepts this character)
- Like for groups of machines, groups of groups can result "empty", but
  it is not an issue for Ansible. Recursive filter on the group tree is
  a bit hard to implement, and don't brind real added value at Vagrant
  level.
2014-02-16 11:20:00 +01:00
Teemu Matilainen ad34d474bc provisioners/chef: DRY and unify encrypted data bag secret handling
Pull up encrypted data bag secret management into the base classes, thus
also unifying the functionality.

Especially this complements the issues:
  * Upload the secret to provisioning path also with chef-solo [GH-1246]
  * Delete the secret also with chef-client [GH-2712]
  * Remove the secret before uploading also with chef-client [GH-1111]
2014-02-15 22:46:48 -03:00
Mitchell Hashimoto 4f89bdb947 core: disable parallelization if only one action 2014-02-15 16:37:27 -08:00