Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

sphinx (15) Versions 0.6.5

Installs/Configures sphinx search engine.

Policyfile
Berkshelf
Knife
cookbook 'sphinx', '= 0.6.5', :supermarket
cookbook 'sphinx', '= 0.6.5'
knife supermarket install sphinx
knife supermarket download sphinx
README
Dependencies
Quality -%

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.5

  • Percona server support (thanks @antono)

0.6.4

  • Better handling of custom bindir when building from source (thanks @justinlocsei)

0.6.3

  • Older and non-release versions of sphinx can now be built from source (thanks @justinlocsei)
  • Added ability to cleanly add additional configure flags (thanks @justinlocsei)

0.6.2

  • Resolved several items identified by foodcritic
  • Fixed configuration flag for libstemmer (thanks @seanculver)

0.6.1

  • Use install_path attribute as the --prefix for source installation
  • Download files to the proper file_cache_path instead of /tmp
  • Dynamically determine package_name based on platform, with manual override

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)

Maintainers

Dependent cookbooks

build-essential >= 0.0.0
mysql >= 0.0.0
percona >= 0.0.0
postgresql >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found