lib/fdlcap/recipes/thinking_sphinx.rb in factorylabs-fdlcap-0.3.1 vs lib/fdlcap/recipes/thinking_sphinx.rb in factorylabs-fdlcap-0.3.2
- old
+ new
@@ -1,19 +1,12 @@
Capistrano::Configuration.instance(:must_exist).load do
# These recipies assume an engineyard configuration
# searchd assumes indexing and configuring being called directly on searchd
- define_recipe :thinking_sphinx_searchd do
+ define_recipe :thinking_sphinx do
after "deploy:update_code", "deploy:symlink_configs"
after "deploy:symlink_configs", "thinking_sphinx:symlink"
after "thinking_sphinx:symlink", "sphinx:configure"
after "deploy:update", "sphinx:reindex"
end
- # rake assumes the explicit ey cap tasks that call TS rake tasks for indexing and configuring
- define_recipe :thinking_sphinx_rake do
- after "deploy:update_code", "deploy:symlink_configs"
- after "deploy:symlink_configs", "thinking_sphinx:symlink"
- after "thinking_sphinx:symlink", "thinking_sphinx:configure"
- after "deploy:update", "thinking_sphinx:reindex"
- end
end
\ No newline at end of file