February 2017
Intermediate to advanced
440 pages
8h 45m
English
Wouldn't it be awesome to simulate production changes quickly? Chances are you're using Chef in production. We'll see how to use both Chef cookbooks with Vagrant, as well as how to simulate Chef version upgrades between environments. This kind of setup is the beginning of a good combination of infrastructure as code.
To step through this recipe, you will need the following:
Let's start with a minimal virtual machine named prod that simply boots a CentOS 7.2, like we have in our production environment:
Vagrant.configure("2") do |config| config.vm.box = "bento/centos-7.2" config.vm.define "prod" do |config| ...Read now
Unlock full access