Top "Knife" questions

Knife is a powerful command-line interface (CLI) that comes with Chef.

knife bootstrap command without prompting password

I am trying to write a bash script which contains the command for bootstrapping a Ubuntu client node using knife …

chef-infra knife
How to set/change host name using Chef?

I have few nodes in running mode, I have to set hostname to those nodes. Is there any Cookbook, in …

ubuntu chef-infra knife
chef knife fails with key error after attempting to upload a cookbook

I set up a chef server, and after copying the admin.pem, and validator.pem files from the server to …

chef-infra knife
Chef cookbook version delete, or update specific version

I have long history of a cookbook that has a recipe of the app and is constantly modified. It got …

version chef-infra knife cookbook
Where is my Chef data bag item?

I was trying to create a Chef data bag from within the chef-repo directory using the command: knife data bag …

chef-infra knife databags
Chef node configuration issue with knife bootstrap- can't authenticate with server

I am trying to setup a chef client node using knife bootstrap: knife bootstrap nodename -x user -P passwd --sudo …

chef-infra knife
CHEF - Attempt to use relative path 'foo when current directory is outside the repository path

When I try and run knife upload roles or knife upload /roles it gives the following error cd ~/my-chef-repo knife …

chef-infra knife
Stuck trying to bootstrap Windows server using Chef

I am a mac girl, working on connecting with knife-windows trough Opscode's managed Chef to my Rackspace Windows servers. (I …

chef-infra windows-server-2008-r2 rackspace-cloud knife winrm
Why doesn't "knife upload roles" upload any roles?

I followed the OpsCode quickstart guide and things went fairly smoothly, but now I'm running into issues experimenting with roles. …

chef-infra knife
Updating a run list in chef using knife

I have cookbook which contains a list of recipes. What is the command to add some specific recipes (not all) …

ruby knife chef-infra