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

RSS

sphinx (15) Versions 1.0.2

Installs/Configures sphinx search engine.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'sphinx', '= 1.0.2'
cookbook 'sphinx', '= 1.0.2', :supermarket
knife cookbook site install sphinx
knife cookbook site download sphinx
README
Dependencies
Quality -%

Travis CI

Description

Installs and configures Sphinx search (searchd). Installation can by from source (http or svn) or package.

Attributes

Thanks to several contributions this cookbook has a lot of flexibility. See attributes/default.rb for a full list of attributes and capabilities.

Usage Examples

Source Install From HTTP

Install version 2.0.8 from source.

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,
    'install_method' => 'source',
    'version => '2.0.8'
  }
})

# Attributes applied no matter what the node has set already.
#override_attributes()

Source Install From SVN

By default, this will grab HEAD from trunk.

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,
    'install_method' => 'source',
    'retrieve_method' => 'svn'
  }
})

# Attributes applied no matter what the node has set already.
#override_attributes()

Package Install + MySQL Support

Here is an example role using MySQL with a package install, using the latest packages.

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,
    'install_method' => 'package'
  }
})

# Attributes applied no matter what the node has set already.
#override_attributes()

History

See CHANGELOG.md

Maintainers

Dependent cookbooks

postgresql 1.0.0
apt >= 0.0.0
yum >= 2.0.0
percona >= 0.0.0
mysql >= 0.0.0
build-essential >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found