Skip to content

Instantly share code, notes, and snippets.

@jvehent
Created April 13, 2012 16:04
Show Gist options
  • Save jvehent/2377962 to your computer and use it in GitHub Desktop.
Save jvehent/2377962 to your computer and use it in GitHub Desktop.
$ grep 'include_recipe "nginx' cookbooks/ -R
cookbooks/python-webserver/recipes/default.rb:include_recipe "nginx"
chef > result = search(:node, "recipes:python-webserver").map {|n| n.fqdn}
=> ["pythonwebserver1.local.vm"]
chef > result = search(:node, "recipes:nginx").map {|n| n.fqdn}
=> []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment