Puppet Class: profile::zuul::haproxy
- Defined in:
- modules/profile/manifests/zuul/haproxy.pp
Overview
SPDX-License-Identifier: Apache-2.0
Class: profile::zuul::haproxy
Provision an HAProxy instance for the zuul Cloud VPS project
Parameters:
- kubernetes_hosts
-
List of FQDNs of Kubernetes API hosts to expose
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'modules/profile/manifests/zuul/haproxy.pp', line 8
class profile::zuul::haproxy (
Array[Stdlib::Fqdn] $kubernetes_hosts = lookup('profile::zuul::haproxy::kubernetes_hosts'),
) {
class { 'haproxy':
logging => true,
# No Icinga support here
monitor => false,
}
haproxy::site { 'kubernetes':
content => epp(
'profile/zuul/haproxy/kubernetes.cfg.epp',
{
kubernetes_hosts => $kubernetes_hosts,
},
),
}
}
|