puppetlabs haproxy hierra help

asked 2016-11-26 21:34:55 -0600

I am a student at IUPUI and currently working on my personal task of learning how to use puppet. I have purchased a few courses on it so I definally understand the basics and the intermediates of the software. I am trying to configure a proxy server to route multiple website URLs to different servers using haproxy. It is easy with the standard config file that native haproxy uses but I want to do this in puppet using hiera data nad this module provided by puppetlabs https://forge.puppet.com/puppetlabs/h...

Basically right now I would think doing something like this would work,

proxy01.local.yaml - haproxy::listen::ipaddress: x.x.x.x haproxy::listen::ports: 80 etc.

I for some reason can not get this to work though.

So how would I get web01.example.com to go to and web02.example.com to go to with this module using hiera data?

edit retag flag offensive close merge delete