jesseadams / sphinx-cookbook

Chef cookbook for Sphinx Search (searchd)
14 stars 27 forks source link

updates cookbook to work with the updated source path #2

Closed ChrisLundquist closed 12 years ago

ChrisLundquist commented 12 years ago

This "works" on a bare Scientific Linux 6 OpenVZ container.

However,

$ searchd
Sphinx 2.0.4-release (r3135)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/usr/local/etc/sphinx.conf'...
FATAL: 'searchd' config section not found in '/usr/local/etc/sphinx.conf'

and

searchd -c /opt/sphinx/sphinx.conf 
Sphinx 2.0.4-release (r3135)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/opt/sphinx/sphinx.conf'...
FATAL: 'searchd' config section not found in '/opt/sphinx/sphinx.conf'

Looking at the Makefile there doesn't seem to be a good way to overwrite the install paths. sysconfdir won't take and DEST_DIR just prepends it so you get silly paths like '/opt/sphinx/usr/local/etc/sphinx.conf'

ivey commented 12 years ago

Thanks Chris, this cookbook is still really early for us so I appreciate you taking the time to make it better.

ChrisLundquist commented 12 years ago

Happy to help. :)