Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This plugin only works for :web role #86

Open
nextofsearch opened this issue Jul 20, 2016 · 4 comments
Open

This plugin only works for :web role #86

nextofsearch opened this issue Jul 20, 2016 · 4 comments

Comments

@nextofsearch
Copy link

nextofsearch commented Jul 20, 2016

Hi,

Is there a specific reason why it should only work on :web role? I have RESTful API servers which I want to use this plugin for and I just learned that nginx:setup task only works on :web role.

Thanks,

@rhomeister
Copy link
Contributor

You can assign your servers multiple roles. By making it possible to
separate the web and app role, this gem gives you the flexibility to setup
your cluster in the way you want.

On 20 July 2016 at 10:38, Dano Lee [email protected] wrote:

Hi,

Is there specific reason why it should only work on :web role? I have an
API server which I want to use this plug in for and I just learned that
nginx:setup only works on :web role.

Thanks,


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#86,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABobTJJ8aDGNstTyF08psic-8HZPkbm5ks5qXd58gaJpZM4JQjLp
.

@nextofsearch
Copy link
Author

Hi @rhomeister,
I do understand that. We are running a system composed of API servers, web servers for dashboard, workers, etc. I use :web role for our web servers for dashboard only and :app role for API servers to manage efficiently. For example, API servers do not need to precompile assets. In order to use this plugin I have to break this policy. Is there a better way to do this? I will appreciate your advice.

Thanks,

@rhomeister
Copy link
Contributor

Hi @nextofsearch,

That's a tricky situation. I'm sure it can be solved somehow, but I can't give you any concrete pointers without digging deeper. By the way, if asset precompilation is the problem, maybe you can turn this off for the app role in the gem that you use for assets?

Cheers

@nextofsearch
Copy link
Author

Hi, @rhomeister,

I guess turning if off is the only solution for now. It would be nice if this plugin supports a custom role.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants