Information Technology Reference
In-Depth Information
Summary
In this chapter we introduced you to Chef search. Chef Server uses Apache Solr behind the
scenes to add support for searching and indexing. The Apache Solr "<attrib-
ute>:<query>" syntax is also used for search queries. You can search from anything that
can talk with Chef Server, given that Chef Server's search capability is implemented as an
API. We showed you how to search from the command line using knife node search and
how to search within a recipe using the search() method.
In the next chapter, we'll cover data bags. Data bags contain data that can be accessed by
more than one node. Data bags were added as a feature in Chef Server to get around the lim-
itation that node attributes can be read only by the node that created the data, not by any oth-
er node.
Search WWH ::




Custom Search