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

properties of members of an upstream #475

Closed
gl00ten opened this issue Oct 13, 2014 · 1 comment
Closed

properties of members of an upstream #475

gl00ten opened this issue Oct 13, 2014 · 1 comment

Comments

@gl00ten
Copy link

gl00ten commented Oct 13, 2014

Is there a way right now to define that members of an upstream are "backup" or have a certain "weight = 5 "

As defined here?

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#server

If not, I'm thinking about extending the upstream/member.pp resource to have at least these properties. Am I thinking right?

@gl00ten
Copy link
Author

gl00ten commented Nov 3, 2014

 members              => 
        suffix(split($::commaSeparatedHostsString, ','), ':80 backup'),

is how i did it

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