Skip to content

Instantly share code, notes, and snippets.

@danielsdeleo
Created July 6, 2012 22:17
Show Gist options
  • Save danielsdeleo/3063064 to your computer and use it in GitHub Desktop.
Save danielsdeleo/3063064 to your computer and use it in GitHub Desktop.
Knife Role Tree example output
ddeleo@boltzmann chef git:(master)> bin/knife role tree $node_name
top level
|-role[preprod]
| |-recipe[network]
| |-recipe[splunk42]
|-role[mysql-master]
| |-role[base]
| | |-role[platform-annoyances]
| | | |-recipe[platform-specific]
| | | |-recipe[selinux::disabled]
| | |-role[ruby-base]
| | | |-recipe[build-essential]
| | | |-recipe[ruby]
| | | |-recipe[rubygems]
| | | |-recipe[bundler]
| | |-role[core-packages]
| | | |-recipe[xfs]
| | | |-recipe[sudo]
| | | |-recipe[perl]
| | | |-recipe[runit]
| | | |-recipe[git]
| | | |-recipe[mlocate]
| | | |-recipe[ssh]
| | | |-recipe[ntp]
| | | |-recipe[openssl]
| | | |-recipe[postfix]
| | | |-recipe[hardware]
| | | |-recipe[logrotate]
| | |-role[automatic-dns]
| | | |-recipe[dynect]
| | |-recipe[motd]
| | |-role[accounts]
| | | |-recipe[users::sysadmins]
| | | |-recipe[users::opscode]
| | | |-recipe[users::system]
| | | |-recipe[opscode-github]
| | |-recipe[ebs-snapshots]
| | |-recipe[opscode-base::chef-client]
| | |-role[monitoring-base]
| | | |-recipe[munin::client]
| | | |-recipe[nagios::client]
| | | |-recipe[estatsd::client]
| | |-role[happy-userspace]
| | | |-recipe[screen]
| | | |-recipe[zsh]
| | | |-recipe[troubleshooting]
| | | |-recipe[vim]
| | | |-recipe[emacs]
| | | |-recipe[annoyances]
| | |-role[java-defaults]
| |-recipe[corpsite-base::database]
| |-recipe[ruby_enterprise]
| |-recipe[corpsite-solr]
| |-role[splunk]
| | |-recipe[splunk42::client]
| | |-recipe[splunk42::chef-app]
| | |-recipe[splunk42::unix-app]
| |-recipe[zmanda::mysql]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment