summaryrefslogtreecommitdiff
path: root/devdocs/vagrant/cli%2Fprovision.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/vagrant/cli%2Fprovision.html
new repository
Diffstat (limited to 'devdocs/vagrant/cli%2Fprovision.html')
-rw-r--r--devdocs/vagrant/cli%2Fprovision.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/devdocs/vagrant/cli%2Fprovision.html b/devdocs/vagrant/cli%2Fprovision.html
new file mode 100644
index 00000000..30089253
--- /dev/null
+++ b/devdocs/vagrant/cli%2Fprovision.html
@@ -0,0 +1,7 @@
+<h1 id="provision"> Provision </h1> <p><strong>Command: <code>vagrant provision [vm-name]</code></strong></p> <p>Runs any configured <a href="../provisioning/index">provisioners</a> against the running Vagrant managed machine.</p> <p>This command is a great way to quickly test any provisioners, and is especially useful for incremental development of shell scripts, Chef cookbooks, or Puppet modules. You can just make simple modifications to the provisioning scripts on your machine, run a <code>vagrant provision</code>, and check for the desired results. Rinse and repeat.</p> <h1 id="options"> Options </h1> <ul> <li>
+<a href="#provision-with-x-y-z"><code>--provision-with x,y,z</code></a> - This will only run the given provisioners. For example, if you have a <code>:shell</code> and <code>:chef_solo</code> provisioner and run <code>vagrant provision --provision-with shell</code>, only the shell provisioner will be run. </li> </ul><div class="_attribution">
+ <p class="_attribution-p">
+ &copy; 2010&ndash;2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br>
+ <a href="https://www.vagrantup.com/docs/cli/provision.html" class="_attribution-link">https://www.vagrantup.com/docs/cli/provision.html</a>
+ </p>
+</div>