cookbook 'sphinx', '= 0.6.0'
sphinx (15) Versions 0.6.0 Follow21
Installs/Configures sphinx search engine.
cookbook 'sphinx', '= 0.6.0', :supermarket
knife supermarket install sphinx
knife supermarket download sphinx
Description
Installs and configures Sphinx search (searchd). Installation can by from source or package.
Requirements
This cookbook depends on the mysql and postgresql cookbooks.
Attributes
See attributes/default.rb for a full list.
Usage
MySQL
Here is an example role using MySQL with a package install
name "sphinx" description "Sphinx search daemon (searchd)" # List of recipes and roles to apply. Requires Chef 0.8, earlier versions use 'recipes()'. run_list( "role[base]", "recipe[sphinx]", ) # Attributes applied if the node doesn't have it set already. default_attributes({ 'sphinx' => { 'use_mysql' => true, 'use_package' => true } }) # Attributes applied no matter what the node has set already. #override_attributes()
History
0.6.0
- Made package version force attribute optional
- Added several required fields to metadata
- Rebuilt metadata.json
- Added recipe lines to metadata for OpsWorks (thanks @ryansch)
- Added lwrp for indexes and sources, searchd and indexer configs from attributes (thanks @makmanalp)
0.5.0
- Added package install option (thanks @RiotGames)
0.4.0
- Updated Download URL for sphinx source (thanks @RiotGames)
Dependent cookbooks
build-essential >= 0.0.0 |
mysql >= 0.0.0 |
postgresql >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.