Hi all,

We inherited a project and are in the process of deploying it to new set of 
servers. During this process, I'm trying to run searchd on a single server 
that a handful of app servers will talk to. Having said that, I'm 
struggling to figure out how to have the bundled cap tasks only run on a 
specific server.

I see that there are references to a role here:

* 
https://github.com/pat/thinking-sphinx/blob/v3.1.1/lib/thinking_sphinx/capistrano/v3.rb#L3

Is fetch(:thinking_sphinx_rails_env) just defaulting to whatever we set in 
a :db role in our deployment scripts? If so, I tried setting the designated 
sphinx server with:

role :db, %w{[email protected]}

When I run `cap production thinking_sphinx:generate` it attempts to do this 
on every server referenced in config/deployment/production.rb (regardless 
of role).

Am I overlooking something?

Thanks in advance. 

Cheers,
Robby

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to