Skip to content

Sample chef repository to show minimum use case for chef cookbooks

Notifications You must be signed in to change notification settings

tkak/sample-chef-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Chef Repository

Sample chef repository to show minimum use case for chef cookbooks.

Usage

Get chef cookbooks.

$ berks vendor cookbooks

Make node's JSON file.

$ vi ./nodes/my_node.json

Make virtual machine with Vagrant, and ssh.

$ vagrant box add tkak/centos-6.6-x86_64-chef-dk
$ vagrant init tkak/centos-6.6-x86_64-chef-dk
$ vagrant up
$ vagrant ssh

Run chef-client.

$ sudo chef-client -z -j /vagrant/nodes/my_node.json -c /vagrant/conf/client.rb

About

Sample chef repository to show minimum use case for chef cookbooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages