Sha256: 3ace43a15ac053e910c01bc23e6cdfa2bd92e17b362134573a7e893004727be3

Contents?: true

Size: 600 Bytes

Versions: 2

Compression:

Stored size: 600 Bytes

Contents

class profile::compile::balancer (
  $listening_pool = 'puppet00',
) {
  class { '::haproxy':
    global_options => {
      'user'  => 'root',
      'group' => 'root',
    },
  }

  haproxy::listen { "${listening_pool}-8140":
    collect_exported => true,
    ipaddress        => $::ipaddress,
    ports            => '8140',
  }

  haproxy::listen { "${listening_pool}-8142":
    collect_exported => true,
    ipaddress        => $::ipaddress,
    ports            => '8142',
    options          => {
      'timeout' => [
        'tunnel 15m',
      ],
      'balance' => 'leastconn',
    },
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/balancer.pp
onceover-3.22.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/balancer.pp