Difference between revisions of "Knife"
From Notes_Wiki
|  (Created page with "<yambe:breadcrumb>Chef|Chef</yambe:breadcrumb> =knife=  ==Use knife to download cookbooks from site or to upload them to local server==  # Download starter kit as explained in...") | 
| (No difference) | 
Revision as of 05:47, 14 December 2014
<yambe:breadcrumb>Chef|Chef</yambe:breadcrumb>
knife
Use knife to download cookbooks from site or to upload them to local server
- Download starter kit as explained in Chef infrastructure setup#Install_Chef_server or configure knife as explained in Chef infrastructure setup#Configure_chef-server_and_knife_workstation_combination_using_command_line
- To configure knife using starter kit just extract the downloded zip file in appropriate folder.
- Download learn_chef_httpd cookbook using:
- knife cookbook site download learn_chef_httpd
- tar -zxvf learn_chef_httpd-0.1.0.tar.gz -C cookbooks
- rm learn_chef_httpd*.tar.gz
 
- <pre>
 
- Upload downloaded cookbook to server using:
- <pre>
- knife cookbook upload learn_chef_httpd
 
 
- <pre>

