Friday, April 29, 2016

Knife Aliases

Easier use of common Knife Tasks


One of the guys I am working with had some aliases on his local for working with Chef and Knife. I grabbed a copy of them and put them into a repo. Made it a bit easier for everyone working with the server stacks. 

https://github.com/Blue-Dog-Archolite/bash-knife-search

ks
Knife Search for a keyword or IP address in the nodes and return common name and external IP

ksip
Knife search for keyword or IP address in the nodes and return ip address

ksrunlist
knife search for node and display runlist.

No comments:

Post a Comment