Skip to content

Instantly share code, notes, and snippets.

@scalp42
Created March 13, 2013 20:01
Show Gist options
  • Save scalp42/5155605 to your computer and use it in GitHub Desktop.
Save scalp42/5155605 to your computer and use it in GitHub Desktop.
Empty nodes run list
knife exec -E "search(:node,'*:*').select{|n|n.run_list.empty?}.each{|n| puts n.name}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment