Created
October 16, 2013 17:54
-
-
Save maraca/7012033 to your computer and use it in GitHub Desktop.
Find chef node that did not successfully register
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| knife search 'role:*' | grep 'Node Name' | awk '{print $3}' | sort > /tmp/search | |
| knife node list | sort > /tmp/list | |
| diff /tmp/search /tmp/list | colordiff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment