No, that didn't do the trick, if I understood you correctly:/]$ knife search node 'run_list:recipes\[bondage\:\:dns\]'0 items foundhowever:/]$ knife search node 'role:iad-web' | grep bondage::dns | wc -l11/]$ knife search node 'role:auto-bonded' | grep bondage::dns | wc -l18/]$ knife search node 'role:auto-bonded' | head18 items foundNode Name: iad-hadoop105.ihrEnvironment: _defaultFQDN: iad-hadoop105.ihrIP: 10.5.40.169Run List: role[base], role[hadoop], role[auto-bonded]Roles: sendmail-smart-host, auto-bonded, base, hadoopRecipes: resolver, yum, ntp, timezone, cron, chef-client, zsh, users::sysadmins, sudo, emacs, vim, git, build-essential, perl, python, screen, nscd, openssh, motd-tail, operations, logrotate::syslog, vmware-tools::noop, sendmail, sendmail::sendmail_smart_host, users::hadoop, bondage::dnsPlatform: centos 6.3Thanks again!
On Mon, Oct 14, 2013 at 4:21 PM, Daniel DeLeo < " target="_blank"> > wrote:On Monday, October 14, 2013 at 1:19 PM, Guy Matz wrote:
Hi! Is there a way to "knife search node" for all of the nodes that have a specific recipe, regardless of which role has included the recipe in the run_list?I have a recipe called bondage::dns that is in a few roles . . . I've tried this, but it didn't work:knife search node 'run_list:recipe\[bondage\:\:dns\]'Any help would be greatly appreciated!Thanks,Guysearch for `recipes` with an 's'. This won't pick up recipes that get run via `include_recipe`, though.--Daniel DeLeo
Archive powered by MHonArc 2.6.16.