Add note about dependency provisioner dependencies

This commit is contained in:
Brian Cain 2019-08-27 15:37:39 -07:00
parent 2677a721fb
commit 5400af7a4a
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 7 additions and 0 deletions

View File

@ -256,6 +256,13 @@ run before or after a _Root Provisioner_, which does not have the `before` or
`after` options configured. Dependency provisioners also have two valid shortcuts:
`:each` and `:all`.
**TODO: Add good real example here**
**Note**: As of 2.2.6, dependency provisioners cannot rely on other dependency
provisioners and is considered a configuration state error in Vagrant. If you must
order dependency provisioners, you can still order them by the order they are defined
inside your Vagrantfile.
An example of these dependency provisioners can be seen below:
```ruby