Sha256: e6d53d6cdea73d339dc447aeb37237751cde695db9fc379d29ccff6ce78e329a

Contents?: true

Size: 886 Bytes

Versions: 3

Compression:

Stored size: 886 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
factorylabs-fdlcap-0.2.7 lib/fdlcap/recipes/thinking_sphinx.rb
factorylabs-fdlcap-0.3.0 lib/fdlcap/recipes/thinking_sphinx.rb
factorylabs-fdlcap-0.3.1 lib/fdlcap/recipes/thinking_sphinx.rb