Dynamically adding app servers behind web server

18 views
Skip to first unread message

Ryan Murphy

unread,
Nov 18, 2016, 7:49:22 PM11/18/16
to Puppet Users
We have an application that we use for document conversion.

It has a web server and can have any number of app servers sitting behind it.  The webserver has one configuration file with a parameter that states what app servers it should be contacting.

Is there a way in Puppet that I could dynamically update that parameter as app servers are created / deleted?

I've looked at exported resources, but I'm just not sure how to use them to do what I want to accomplish.

Richard Gray

unread,
Nov 22, 2016, 12:00:31 AM11/22/16
to puppet...@googlegroups.com

On 11/19/2016 08:30 AM, Ryan Murphy wrote:
> I've looked at exported resources, but I'm just not sure how to use them
> to do what I want to accomplish.

The puppetlabs/haproxy[1][2] module might be of interest to you. It uses
that approach to allow dynamic management of HAProxy proxy backend members.

[1]: https://forge.puppet.com/puppetlabs/haproxy
[2]: https://github.com/puppetlabs/puppetlabs-haproxy

--
Richard
_____________________________________________________________________________

This email has been filtered by SMX. For more info visit http://smxemail.com
_____________________________________________________________________________

Reply all
Reply to author
Forward
0 new messages