Commit Graph

12195 Commits

Author SHA1 Message Date
Brian Cain c192651e90
Make dependency provisioners experimental 2019-08-28 15:09:38 -07:00
Brian Cain 963319d938
Flip around action to be after dependency provisioner name 2019-08-28 14:39:42 -07:00
Brian Cain 160ee09da2
Cleanup sorting method for provisioner sorting 2019-08-28 14:32:51 -07:00
Brian Cain 8c39d9bfed
Add dependency provisioner name to error message 2019-08-28 14:30:32 -07:00
Brian Cain c1f0bd638d
Insert _at_ index, rather than before
Inserting at the right index places new item *before* the index, so no
need to decrement and then insert, since `insert` takes care of shifting
down elements of the array.
2019-08-28 14:11:25 -07:00
Brian Cain 5400af7a4a
Add note about dependency provisioner dependencies 2019-08-27 15:37:39 -07:00
Brian Cain 2677a721fb
Update provisioner basic usage with dependency provisioners 2019-08-27 15:11:14 -07:00
Brian Cain e56d2581ee
Add before/after all tests 2019-08-27 14:36:36 -07:00
Brian Cain 271d427c57
Fix bug in :each provisioner sorting
Ensure each provisioners are properly inserted into the final
provisioner array
2019-08-27 14:28:06 -07:00
Brian Cain c189e4d255
Redo how each provisioners are sorted 2019-08-26 16:05:02 -07:00
Brian Cain 28ef368881
Begin to add tests for mixin provisioner 2019-08-26 12:03:36 -07:00
Brian Cain ef82c0a5bc
Move return earlier 2019-08-22 12:01:19 -07:00
Brian Cain be5964a1db
Add basic provisioner sorting 2019-08-21 14:44:16 -07:00
Brian Cain 6777493c46
Include before/after options in final provision hash 2019-08-20 11:31:00 -07:00
Brian Cain 6db03f2aed
Check if rejected entries are nil, not blank 2019-08-20 11:30:42 -07:00
Brian Cain d15bac7fb7
Validate that before/after provisioner exists in machines config 2019-08-19 14:48:06 -07:00
Brian Cain 8ecd32de53
Remove comment 2019-08-19 11:36:54 -07:00
Brian Cain 4933610398
Update rubydoc for before/after return types 2019-08-19 11:33:30 -07:00
Brian Cain 66aac23470
Properly set and validate before/after keys for base provisioner class 2019-08-19 11:23:06 -07:00
Brian Cain 28c0f6085c
Attempt to validate top scope provisioner options 2019-08-06 16:18:58 -07:00
Brian Cain e05437ddf2
Add validation method and todo 2019-08-06 15:28:04 -07:00
Brian Cain b82b33d204
Add new before/after options for the base Provisioner class
This commit adds two new options: before, after. These string options
refer to other named Provisioners.
2019-08-06 15:28:04 -07:00
Brian Cain 49ae77b2b8
Update doc string for :run option 2019-08-06 15:28:04 -07:00
Brian Cain 1dda6cc14c
Merge pull request #10998 from llsousa/master
Review ansible_local.html.md
2019-08-06 08:30:24 -07:00
Brian Cain d1f415a447
Merge pull request #11001 from phillxnet/patch-1
minor word change re box availability explanation
2019-08-05 08:26:13 -07:00
Philip Guyton 2973750018
minor word change re box availability explanation
Proposed minor re wording on website boxes catalog page.
2019-08-05 13:01:53 +01:00
Luís Sousa d93342cbbb
Merge pull request #1 from llsousa/llsousa-patch-1
Review ansible_local.html.md
2019-08-02 16:20:25 +01:00
Luís Sousa af5c752fb2
Review ansible_local.html.md 2019-08-02 16:18:20 +01:00
Brian Cain 89cf1e70c5
Update CHANGELOG 2019-07-30 09:18:44 -07:00
Brian Cain 3bde70fec1
Merge pull request #10975 from timschumi/patch/alpine-guest-plugin
Integrate the vagrant-alpine guest plugin
2019-07-30 09:17:42 -07:00
Tim Schumacher 39fb585295 alpine: Remove unneeded aliases in change_host_name 2019-07-26 08:32:36 +02:00
Tim Schumacher a7f09f010c alpine: Convert nfs_client capability to seperate commands
The workaround for the broken repository should be safe to be removed,
since the last affected Alpine version (<=3.3) EOL'd in November of 2017.

The remaining important commands can be split out into seperate calls
of sudo(), which removes the need for manual exit-code checking
(since it aborts by itself when a command fails) and makes the code
easier to handle in general.
2019-07-26 08:31:12 +02:00
Tim Schumacher 77616b22b3 alpine: Use absolute paths for network configuration templates 2019-07-18 04:07:15 +02:00
Tim Schumacher 29362d8af4 alpine: Wire up tests 2019-07-18 03:36:50 +02:00
Tim Schumacher 3b03944331 alpine: Replace capability strings with symbols
Those were introduced upstream in b29864f450.
2019-07-18 03:35:48 +02:00
Tim Schumacher 2216d23048 alpine: Remove version and out-of-tree checks 2019-07-18 03:35:48 +02:00
Tim Schumacher fbffb41fc4 guests: Add unmodified alpine support plugin from maier
This has been available as `vagrant-alpine` in the plugin
repository so far.
2019-07-18 03:35:40 +02:00
Brian Cain cca36d91ed
Merge pull request #10954 from morkot/fix-docs-formatting-ansible_local
website/docs: fix code formatting
2019-07-10 16:13:34 -07:00
morkot 2fd803cdc2 website/docs: fix code formatting
This change will fix formatting of the code blocks on page https://www.vagrantup.com/docs/provisioning/ansible_local.html
2019-07-08 18:22:50 +01:00
Chris Roberts 4ce8d84f7e
Merge pull request #10932 from Jonfor/patch-1
Fix the date of 2.2.5 release in changelog
2019-06-26 12:25:41 -07:00
Jonathan Forscher 75bc6a93ef
Fix the date of 2.2.5 release 2019-06-26 15:18:01 -04:00
Chris Roberts b200bfb398 Update version and changelog for new development 2019-06-26 06:43:30 -07:00
Chris Roberts b68ea5bd23 Update website download version to 2.2.5 2019-06-26 06:42:04 -07:00
Chris Roberts ae0d574e8a Release v2.2.5 2019-06-25 14:28:53 -07:00
Chris Roberts 8e59d9e159 Update the steps in the release document 2019-06-25 14:26:37 -07:00
Brian Cain 55019bc846
Merge pull request #10929 from briancain/add-suse-sudoers-website-docs
Fixes #10928: Include SUSE for sudoers entry with NFS
2019-06-25 11:00:43 -07:00
Brian Cain b16794c8ca
Fixes #10928: Include SUSE for sudoers entry with NFS
This commit includes the SUSE entry for passwordless sudo when mounting
shared folders with NFS.
2019-06-24 13:38:20 -07:00
Chris Roberts d490b0589f
Merge pull request #10926 from chrisroberts/f-no-local-loading
Fix plugin discovery loading when no data directory is available
2019-06-21 12:41:10 -07:00
Chris Roberts 7fbe8bcabc Fix plugin discovery loading when no data directory is available
If the local data directory is unavailable, there will be no local
file to use within the plugin manager. Check for local file before
returning result, otherwise just return an empty hash.
2019-06-21 11:15:39 -07:00
Chris Roberts 7c6b2963c3
Merge pull request #10911 from chrisroberts/f-plugin-loading
Support loading machine configuration without provider validation
2019-06-20 11:23:10 -07:00