gustavosoares / chef-hello-world

chef-hello-world sample project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sample-cookbook

Sample cookbook

Development environment setup

vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-omnibus
vagrant plugin install winrm

How to create a cookbook

To create a chef cookbook just run the following command. A cookbook comprises of one or more recipes. You can even use cookbooks used by someone else. In this case, you just need to specify the cookbook in the berksfile. You can find more cookbooks in Chef supermarket website (https://supermarket.chef.io/).

berks cookbook sample

Vagrant boxes

Vagrants Commands

  • vagrant up (starts the vm)
  • vagrant provision
  • vagrant halt (stops the vm)
  • vagrant destroy (completely destroy the machine)
  • vagrant ssh (ssh into the machine)

Chef

Some examples can be found at

License and Authors

Author:: YOUR_NAME (<YOUR_EMAIL>)

About

chef-hello-world sample project


Languages

Language:Ruby 100.0%