Getting Started with Vagrant for Local Development: Lesson 17 of 20

Advanced Provisioning

Up Next

But isn't there just an easier way? (Hello, Scotch Box!)

Autoplaying in 7 seconds!


Advanced Provisioning

We have gone through manually setting up a server with Vagrant and we're about to show you how to setup a full LAMP stack in the next lesson.

We're doing this via shell provisioning. There's nothing wrong with this, it's just not very robust.

For example, what if:

Table of Contents

    • You wanted easier control over the configuration?
    • Wanted to do error handling on the

    You really are limited in Bash on how far you can take it. There's tools specifically designed for this. Some examples:

    • Puppet
    • Chef
    • Ansible
    • Salt
    • Docker (arguably)