Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Knife Preflight Plugin
branch: master

This branch is 25 commits behind jonlives:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
preflight.rb

README.md

knife-preflight

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

Preface

Searches the expanded run_lists of all nodes along with the run_list of all roles for the specified cookbook

What it does

knife preflight apache2::default will return a list of all nodes containing this cookbook in their expanded run_list followed by all nodes with the cookbook in their expanded run_list

Notes

This will currently only search for cookbooks. It won't work if you specify a role on the command line because I've tried to avoid duplication of functionality which knife makes obvious.

Something went wrong with that request. Please try again.