Information Technology Reference
In-Depth Information
$ knife search node "*:*"
3 items found
Node Name: atwood
Environment: _default
FQDN: atwood.playground.local
IP: 192.168.33.31
Run List: recipe[apache], recipe[motd]
Roles:
Recipes: apache, motd
Platform: centos 6.5
Tags:
Node Name: snowman
Environment: _default
FQDN: snowman.playground.local
IP: 192.168.33.32
Run List: recipe[apache], recipe[motd], recipe[motd-attributes]
Roles:
Recipes: apache, motd, motd-attributes
Platform: ubuntu 14.04
Tags:
Node Name: susu
Environment: _default
FQDN: susu.playground.local
IP: 192.168.33.33
Run List: recipe[apache], recipe[motd]
Roles:
Recipes: apache, motd
Platform: centos 6.5
Tags:
Chef search queries use the Solr “<attribute>:<search_pattern>” form:
knife search node "ipaddress:192.168.33.32"
Use an asterisk (“*”) within a search query to perform a wildcard search matching 0 or more
characters:
knife search node "ipaddress:192.*"
knife search node "platfo*:centos"
Search WWH ::




Custom Search