Brian Cain
07bcfc6077
Add error if both before and after options are set
2019-08-28 16:15:33 -07:00
Brian Cain
258ce7733c
Remove todo note from docs
2019-08-28 16:09:02 -07:00
Brian Cain
fc8bf6aed4
Ensure a dependency provisioner isnt configured to rely on another dependency provisioner
2019-08-28 15:52:38 -07:00
Brian Cain
f608c324e5
Update dependency provisioner docs
2019-08-28 15:09:48 -07:00
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
f27cf9c84e
Update CHANGELOG
2019-08-27 14:04:47 -07:00
Brian Cain
75f1fde1e5
Merge pull request #11000 from ladar/master
...
Fix the hostname config logic for Alpine.
2019-08-27 14:03:31 -07:00
Ladar Levison
5fb9edd67b
Functional/working unit tests for the alt linux guest plugin change hostname capability.
2019-08-27 23:00:36 +05:30
Ladar Levison
243ae0f368
Added service command to alt guest test.
2019-08-27 21:07:58 +05:30
Ladar Levison
7e4c4cd71a
Merge remote-tracking branch 'upstream/master'
2019-08-27 20:32:31 +05:30
Ladar Levison
0671843ec0
Initial alt guest unit test attempt.
2019-08-27 20:31:12 +05:30
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
ebaacd524c
Add note about public boxes and release status for Vagrant Cloud
2019-08-23 08:34:10 -07:00
Brian Cain
ef82c0a5bc
Move return earlier
2019-08-22 12:01:19 -07:00
Nick Fagerlund
ba3aa81841
Update middleman-hashicorp container and Gemfile.lock
...
Time marches on, and so do security vulnerabilities in Nokogiri. So it's time
for a new container.
As with last time, here's a reminder for the next person who needs to update
this:
- You shouldn't just update the dependency in Gemfile.lock, because your build
times will go to heck as you compile Nokogiri from source on every run. So you
need an updated container with all the dependencies.
- To update the container, you need to push a new tag to the middleman-hashicorp
repo. Teamcity does the rest, and will ship a new container to Docker Hub
(unless its credentials are out of date, in which case go ask team-eng-serv.)
- Once that's pushed:
- Update Makefile
- Update the Gemfile
- Delete Gemfile.lock
- `make website` until it comes up, then ctrl-C
- Commit the changes
2019-08-21 16:08:55 -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
725a13a292
Add note about Bento project with new box
2019-08-16 09:25:15 -07:00
Brian Cain
98f598632e
Update docs with newly supported hashicorp/bionic64 box
2019-08-14 10:48:33 -07:00
Dan Čermák
eb9b478951
Add ipv6 network config templates for SUSE based distributions
2019-08-09 17:23:46 +02:00
Ricardo Aielo
ae3ae5078f
Memory set to 2GB to run tests with no Errno::ENOMEM
2019-08-08 19:11:52 -07:00
Ricardo Aielo
990bc107fa
grep error suppressed in case .bash_profile does not exist
2019-08-08 15:55:46 -07:00
Ricardo Aielo
546cd90cea
Removed explicit bundler install since there is no dependency in gemspec
2019-08-08 15:53:03 -07:00
Ricardo Aielo
068e348826
Next-to-last ruby to avoid unsupported version from gemspec
2019-08-08 15:42:45 -07:00
Ricardo Aielo
7167c9a2fe
RVM installed with apt-get (ubuntu_rvm)
2019-08-08 15:31:14 -07:00
Ricardo Aielo
5dfbd20aa3
Box updated to ubuntu/bionic64 (18.04)
2019-08-08 15:25:34 -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
Dan Čermák
f056231deb
Bump rspec-its dependency
2019-08-05 11:25:20 +02:00
Ladar Levison
690963669c
Added fall through logic with error messages if OS is unrecognized.
...
This will print an error message but still exit with 0 if an
ephemeral hostname change was made, which seems more defenisve,
and user friendly to me.
2019-08-03 20:59:41 +05:30
Ladar Levison
53323ba54e
Fix the hostname config logic for Alpine.
...
And allow those who like `vagrant` to go
Alpine skiing!
2019-08-03 15:19:51 +05:30