Embed presentation
Download to read offline




![VAGRANT + CHEF
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "chef/cookbooks"
chef.roles_path = "chef/roles"
node_json = JSON.parse(File.read("chef/node_database.json"))
node_json[:run_list] = node_json.delete("recipes")
chef.add_role("database")
chef.json.merge!(node_json)
end](https://image.slidesharecdn.com/apresentao-vagrant-121011074340-phpapp01/85/Apresentacao-vagrant-5-320.jpg)



The document outlines the steps taken by Felipe Augusto Navas to create and manage a virtual machine (VM) using Vagrant. It includes commands for adding a Vagrant box, initializing, starting the VM, and accessing it via SSH, as well as provisioning with shell and Chef. Additionally, there are references to installing packages and configuring roles within a Chef setup.




![VAGRANT + CHEF
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "chef/cookbooks"
chef.roles_path = "chef/roles"
node_json = JSON.parse(File.read("chef/node_database.json"))
node_json[:run_list] = node_json.delete("recipes")
chef.add_role("database")
chef.json.merge!(node_json)
end](https://image.slidesharecdn.com/apresentao-vagrant-121011074340-phpapp01/85/Apresentacao-vagrant-5-320.jpg)


