#creates a new cookbook on the workstation
knife cookbook create “cookbook”

browse to the recepies folder and edit the default.rb file to add functions to the recepie
here is where actions funcitons files etc are manageed
#uploads the cookbook to the server
knife cookbook upload “cookbook”

#create roles in the /chef/chef-repo/roles directory
file.rb format place standard roles to assign service types.

#upload or update service on chef server
knife role from file “filename.rb”

Recently I was requested to build a 96 node bare metal linux environment to service Hadoop, open-stack,docker, etc all on the fly. Building 96 nodes individually was not something I was willing to tackle and […]