All Projects → miketheman → Knife Role Spaghetti

miketheman / Knife Role Spaghetti

Licence: apache-2.0
Knife plugin for Chef to draw dependency graphs for roles. Cut through the spaghetti with a knife.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Knife Role Spaghetti

Tfgraphviz
A visualization tool to show a TensorFlow's graph like TensorBoard
Stars: ✭ 40 (-41.18%)
Mutual labels:  graphviz
Asciidoctor Kroki
Asciidoctor.js extension to convert diagrams to images using Kroki!
Stars: ✭ 55 (-19.12%)
Mutual labels:  graphviz
Graphviz Aws
AWS architecture the easy way
Stars: ✭ 63 (-7.35%)
Mutual labels:  graphviz
Ipfs Textbook
[unmaintained] Helping me understand what IPFS is and how it works
Stars: ✭ 43 (-36.76%)
Mutual labels:  unmaintained
Autocomplete Ruby
Provides intelligent code completion for Ruby in the Atom editor. Requires RSense.
Stars: ✭ 50 (-26.47%)
Mutual labels:  unmaintained
Dockviz
Visualizing Docker data
Stars: ✭ 1,104 (+1523.53%)
Mutual labels:  graphviz
Chef Nginx
Chef Nginx recipes
Stars: ✭ 37 (-45.59%)
Mutual labels:  chef
Gsxlib
A PHP library for communicating with Apple's GSX web service API
Stars: ✭ 66 (-2.94%)
Mutual labels:  unmaintained
Lvm
Development repository for lvm Chef cookbook
Stars: ✭ 51 (-25%)
Mutual labels:  chef
Sabotage
an experimental distribution based on musl libc and busybox
Stars: ✭ 62 (-8.82%)
Mutual labels:  unmaintained
Workstations
Vagrant virtual workstations and development environments with Visual Studio, Docker, IIS and SQL Server on Windows for .NET development
Stars: ✭ 45 (-33.82%)
Mutual labels:  chef
Bootstrap Imageupload
A Bootstrap/jQuery plugin to preview image uploads.
Stars: ✭ 49 (-27.94%)
Mutual labels:  unmaintained
Fail2ban
Development repository for the fail2ban cookbook
Stars: ✭ 61 (-10.29%)
Mutual labels:  chef
Itamae
Configuration management tool inspired by Chef, but simpler and lightweight. Formerly known as Lightchef.
Stars: ✭ 1,014 (+1391.18%)
Mutual labels:  chef
Chef Vault
chef-vault cookbook
Stars: ✭ 63 (-7.35%)
Mutual labels:  chef
Chef Plugin
This is jenkins plugin to run chef-client on remote host
Stars: ✭ 38 (-44.12%)
Mutual labels:  chef
Hpcc Js Wasm
HPCC-Systems Web-Assembly (JavaScript)
Stars: ✭ 56 (-17.65%)
Mutual labels:  graphviz
Django Alexa
Amazon Alexa Skills Kit integration for Django -- PENDING ADOPTION
Stars: ✭ 68 (+0%)
Mutual labels:  unmaintained
Rsyslog
Development repository for the rsyslog cookbook
Stars: ✭ 66 (-2.94%)
Mutual labels:  chef
Oligrapher
JavaScript app for displaying annotated network graphs based on data from LittleSis
Stars: ✭ 62 (-8.82%)
Mutual labels:  graphviz

knife-role-spaghetti

Gem Version Dependency Status Build Status Code Climate

Knife plugin for Chef to draw dependency graphs for roles that have become spaghetti.

Installation

Requirements

Ruby 1.9.3 and higher.

This plugin requires on Graphviz, and should be installed prior to installing the plugin.

Graphviz may be obtained through a variety of methods. On OSX an easy method is via Homebrew:

$ brew install graphviz

Gem install, via RubyGems:

$ gem install knife-role-spaghetti

Usage

NOTE: Ensure that your knife.rb has the role_path setting configured.

Since this is a Knife plugin, execution should be performed in your Chef repository.

Execute:

$ knife role spaghetti

with no arguments should result in a new file named role-spaghetti.png in your repo root.

$ knife role spaghetti "/tmp/someotherfilename.png"

will place the file in the specified location.

Execute knife role spaghetti -h for more options.

Examples

From a sample role, courtesy of @jtimberman, along with one from the Opscode Wiki, plus one more cyclic role model, produces this image:

Sample Roles

(full resolution here)

Running through the neato renderer (with the -N switch) produces this image:

Sample Roles Neato

(full resolution here)

License

Author:: Mike Fiedler ([email protected]) endorse Copyright:: Copyright (c) 2012-2013 Mike Fiedler License:: Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].