0.01
No commit activity in last 3 years
No release in over 3 years
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

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