Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisioner names #806

Merged
merged 3 commits into from
Jun 14, 2016
Merged

Provisioner names #806

merged 3 commits into from
Jun 14, 2016

Conversation

coreymckrill
Copy link
Contributor

Problem: Working on a provision-post.sh script, every time you want to test it, you have to run all the provisioners.

Solution: Use the --provision-with switch to specify which provisioner(s) to run. Per the Vagrant documentation:

--provision-with x,y,z - This will only run the given provisioners. For example, if you have a :shell and :chef_solo provisioner and run vagrant provision --provision-with shell, only the shell provisioner will be run.

Since all of VVV's provisioners are :shell, this doesn't help much. However, if each one is named, you can do something like this: vagrant provision --provision-with post

@jeremyfelt jeremyfelt added this to the Next Release milestone Feb 26, 2016
@jeremyfelt
Copy link
Member

Thanks for the PR @coreymckrill, and for the patience. :) I've looked at this a 100 times. Let's do it!

@jeremyfelt jeremyfelt merged commit 838b694 into Varying-Vagrant-Vagrants:develop Jun 14, 2016
@coreymckrill
Copy link
Contributor Author

💥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants