Useful but possibly dangerous scripts for knife
Ruby Shell
Latest commit c914e3b Oct 24, 2013 @stevendanna Add `node required cookbooks` plugins.
This plugin prints the list of cookbooks required for the given node
to complete its chef-client run.


Knife Hacks

This repository contains bits of code that may be useful to people using Chef. It is structured as follows:

  • bootstraps/: knife-bootstrap scripts. Place in .chef/bootstrap/
  • exec/: knife-exec scripts.
  • plugins/: An unorganized set of plugins that extend knife's functionality. Place in .chef/plugins/knife/.
  • shef/: Scripts suitable for interactive use with Shef. These can technically also work with knife-exec.
  • shell/: Shell scripts that making working with Knife easier.


I place code here when I believe that it may be useful to me or others in the future. But, the code here has not been tested extensively beyond my initial use of it. Be extra wary of the exec/ folder.


Unless otherwise specified all works in this repository are

Copyright 2011 Opscode, Inc

Author:: Steven Danna (

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.