chef.io logo

chef knife-preflight

A preflight plugin for Chef::Knife which lets you see which nodes and roles use a particular cookbook before you upload it.

Edit your path. For example in zsh:

vi ~/.zshrc

path+=("$HOME/.chefdk/gem/ruby/2.1.0/bin")
export PATH

Install the knife-preflight gem:

chef gem install knife-preflight

Now you can see which nodes and roles use a particular cookbook:

knife preflight users::safematix

knife-preflight on github

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.