更新时间:2021-07-23 20:23:57
coverpage
Vagrant Virtual Development Environment Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Conventions
Reader feedback
Customer support
Chapter 1. Setting Up Your Environment
Introduction
Installing Vagrant and VirtualBox
Initializing your first environment
Installing Vagrant providers
Finding additional Vagrant boxes
Using existing virtual machines with Vagrant
Chapter 2. Single Machine Environments
Defining a single machine Vagrant environment
Forwarding ports from a Vagrant machine
Starting a GUI with Vagrant
Sharing Vagrant guest folders with the host
Sharing folders using Network File Systems
Sharing folders with rsync
Customizing virtual machine settings (VirtualBox)
Customizing virtual machine settings (VMware Desktop)
Sharing environments with source control
Chapter 3. Provisioning a Vagrant Environment
Running basic shell commands
Executing shell scripts in a Vagrantfile
Provisioning with external shell scripts
Chapter 4. Provisioning with Configuration Management Tools
Configuring Vagrant environments with Puppet
Configuring Vagrant environments with Chef
Provisioning Vagrant environments with Salt
Provisioning Vagrant environments with Ansible
Chapter 5. Networked Vagrant Environments
Creating a local network
Defining a multimachine environment
Specifying the order of machine provisioners
Creating clusters of Vagrant machines
Chapter 6. Vagrant in the Cloud
Using Vagrant with Amazon Web Services
Using Vagrant with DigitalOcean
Sharing local machines with HashiCorp Atlas
Sharing web applications with HashiCorp Atlas
Chapter 7. Packaging Vagrant Boxes
Packaging Vagrant boxes from ISO files
Building Vagrant boxes with Packer
Sharing Vagrant boxes
Sharing Vagrant boxes with Atlas
Appendix A. Vagrant Plugins
Setting up a Ruby runtime environment
Appendix B. A Puppet Development Environment
Setting up a Puppetmaster with the puppet apply provisioner
Provisioning nodes with a Puppetmaster
Appendix C. Using Docker with Vagrant
Running Docker containers with Vagrant
Mixed environments – the Docker provisioner
Index