diff --git a/v1/docs/getting-started/provisioning.md b/v1/docs/getting-started/provisioning.md index 2e4aa0a45eb..ceba183964c 100644 --- a/v1/docs/getting-started/provisioning.md +++ b/v1/docs/getting-started/provisioning.md @@ -86,6 +86,15 @@ class apache { } include apache + +file { "/var/www/index.html": + ensure => present, + source => "/vagrant/index.html", + owner => "root", + group => "root", + require => Class['apache'], +} + {% endhighlight %} We then add support in the Vagrantfile to support Puppet provisioning: @@ -102,10 +111,11 @@ end Alternatively you can run Puppet in client-server mode by enabling the `:puppet_server` provisioner. See the [Puppet Server](/v1/docs/provisioners/puppet_server.html) documentation for more details. **Note:** The Puppet example above is not quite equivalent to the Chef example, -Apache isn't properly configured to serve our `/vagrant` directory. The main -purpose here is to show you how Puppet provisioning works with Vagrant. You -can imagine how you would configure Apache further to serve from the `/vagrant` -directory. +Apache isn't properly configured to serve our `/vagrant` directory; instead we +have configured puppet to copy the `index.html` file to the default webroot +directory. The main purpose here is to show you how Puppet provisioning works +with Vagrant. You can imagine how you would configure Apache further to serve +from the `/vagrant` directory. ## Running it!