puppetlabs-haproxy need help

asked 2015-06-25 07:22:57 -0600

arucard gravatar image

Hi,

could somebody explain me how to use puppetlabs-haproxy module? I'm using theforeman+puppet. In hiera file I defined:

haproxy::listen:
  puppet00:
    collect_exported: 'false'
    ipaddress: '127.0.0.1'
    ports: '8140'

haproxy::balancermember:
  master00:
    listening_service: 'puppet00'
    server_names: 'master00.example.com'
    ipaddresses: '10.0.0.10'
    ports: '8140'
    options: 'check'

haproxy::balancermember:
  master01:
    listening_service: 'puppet00'
    server_names: 'master01.example.com'
    ipaddresses: '10.0.0.11'
    ports: '8140'
    options: 'check'

In foreman I've attached haproxy class to node. And right now besides installing haproxy package on machine and setting default haproxy.cfg file nothing more has be added. TIA, Regards, a.

edit retag flag offensive close merge delete