Knife
From Notes_Wiki
Home > CentOS > CentOS 6.x > System administration tools > chef > 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
- Upload downloaded cookbook to server using:
- knife cookbook upload learn_chef_httpd
Home > CentOS > CentOS 6.x > System administration tools > chef > knife