Puppet Class: cloudlb::haproxy::wikireplicas::frontend

Defined in:
modules/cloudlb/manifests/haproxy/wikireplicas/frontend.pp

Summary

generates haproxy frontends to connect to the wiki replicas

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:



3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/cloudlb/manifests/haproxy/wikireplicas/frontend.pp', line 3

class cloudlb::haproxy::wikireplicas::frontend (
    Hash[String[1], Hash[String[1], Stdlib::IP::Address::Nosubnet]] $frontends,
    Hash[String[1], String[1]]                                      $backups,
) {
    file { '/etc/haproxy/conf.d/wiki-replica-frontends.cfg':
        ensure  => present,
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        content => template('cloudlb/haproxy/wikireplicas/frontend.cfg.erb'),
        notify  => Service['haproxy'],
    }
}