Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

knife plugin to display role hierarchies

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 README.md
Octocat-spinner-32 knife-crawl.gemspec
README.md

knife-crawl

A plugin for Chef::Knife which displays the roles that are included recursively within a role and optionally displays all the roles that include it.

Usage

Supply a role name to get a dump of its hierarchy, pass -i for the roles that also include it

% knife crawl VMDevStack -i                                                                                                                         ✹

VMDevStack child hierarchy:
 * VMDevStack
   * SharedDevStack

VMDevStack is included in the following roles:
   * VMBase

Installation

Script install

Copy the knife-crawl script from lib/chef/knife/crawl.rb to your ~/.chef/plugins/knife directory.

Gem install

knife-crawl is available on rubygems.org - if you have that source in your gemrc, you can simply use:

gem install knife-crawl
Something went wrong with that request. Please try again.