[chef] Why I cannot search by recipes attribute only. Other attributes in search are still working.


Chronological Thread 
  • From: Vladimir Skubriev < >
  • To:
  • Subject: [chef] Why I cannot search by recipes attribute only. Other attributes in search are still working.
  • Date: Tue, 20 Aug 2013 10:27:36 +0400

$knife search node "recipes:cftp"


knife search node "hostname:zeus" -l | grep -C 10 recipes
        metric:      256
        proto:       kernel
      state:         unknown
      type:          vnet
ohai_time:        1376978220.81941
os:               linux
os_version:       3.5.0-34-generic
platform:         ubuntu
platform_family:  debian
platform_version: 12.04
recipes:
  apt
  ntp
  cftp
  cnfs::server
  cinotify
  nut
  fail2ban
  csquiddebproxy::server
  csquiddebproxy
  cbacula::client


OR other example:

knife search node "roles:ntp_server" -l | grep -C 10 roles
  apt
  ntp
  cftp
  cnfs::server
  cinotify
  nut
  fail2ban
  csquiddebproxy::server
  csquiddebproxy
  cbacula::client
roles:
  ntp_server
  nut_apcrt5000xl_serverroom_server
uptime:           6 days 21 hours 09 minutes 00 seconds
uptime_seconds:   594540
virtualization:
  role:   host
  system: kvm


What is the difference between roles and recipes attributes. Why with recipes search are not work ?

Thank you very much.

--
Best regards,

CVisionLab System Administrator
Vladmir Skubriev




Archive powered by MHonArc 2.6.16.

§